Description

A read-write property specifying the number of bins in the Histogram.

Property type

A Long value.  

Syntax

object.BinCount [= value]

The BinCount Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McHistogram.
valueA Long value.

Remarks

This number also reflects the number of entries in RawValues, Values and BinXValues. It is initially set to 256.

Get the MaxBinCount property to see what the maximum allowed BinCount is for a given source image. MaxBinCount will always be at least 256 and will be at most 65536.

Exceptions

The count must be between 2 and the MaxBinCount.