IMcBitMaskSetFromBitmapBits Method
|
|
Sets the scan list from packed bit map supplied as a 2-dimensional
array of Bytes.
Namespace:
MediaCy.IQL.Features
Assembly:
MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
SyntaxSub SetFromBitmapBits (
NewBitmapBits As Object,
<OptionalAttribute> StartingXY As Object,
Optional LabelUsingConnect8 As Boolean = false
)
Parameters
- NewBitmapBits
- Type: SystemObject
Packed bits supplied as a 2-dimensional array of Byte. The
array must be two dimensional and it must be of type Byte. Bits are packed
into each byte such that the left-most bit in a byte is the high-order bit.
The BitmapBits property exposes a properly formatted array. The bits
of a Windows monochrome bitmap are organized properly as well, needing
only to be copied into a 2-dimensional array. - StartingXY (Optional)
- Type: SystemObject
If given, a LONGPOINT or a length-2 array (X,Y) giving the location
of the left, top point of the supplied bits. If not given, 0,0 is used as
the left, top point. - LabelUsingConnect8 (Optional)
- Type: SystemBoolean
Sets the Connect8 property. If not given, the Connect8
property is set False.
RemarksThe BoundsRect is set to the smallest bounds that encompasses all foreground
bits; you can subsequently assign to the BoundsRect if you need to change these
bounds.
See Also