CogOCFontModel PropertiesCognex VisionPro

The CogOCFontModel type exposes the following members.

Properties

  NameDescription
Public propertyBlankHeight
BlankWidth and BlankHeight specify the size, in pixel units, of a blank model image. The Image property is not used for blank models.
Public propertyBlankWidth
BlankWidth and BlankHeight specify the size, in pixel units, of a blank model image. The Image property is not used for blank models.
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
Public propertyDescription
Description simply provides a string for the user to store additional information or comments about their font model.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyImage
Image of the character to be verified for a normal font model. The Image property is ignored for a blank model.
Public propertyImageMask
A mask which allows the user to identify areas of the font model image, or blank region, as care or don't care. Only model pixels corresponding to care pixels in the mask are used for verifying a font model.
Public propertyImageMaskOffsetX
X offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the Image to the upper-left corner of the ImageMask, in image coordinates of the Image.
Public propertyImageMaskOffsetY
Y offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the Image to the upper-left corner of the ImageMask, in image coordinates of the Image.
Public propertyInstance
The Instance of this font model. The Name and Instance of a font model uniquely identify the model within a font. Valid instance number is between 0 and 255, inclusive.
Public propertyName
The Name of this font model. The Name and Instance of a font model uniquely identify the model within a font.
Public propertyOrigin
A transform that defines the origin of the model relative to the model's image pixels. It is a pixel space from model origin space transform. In the case of blank models, the width and height define a rectangle which is equivalent to image pixel space.
Public propertyType
Indicates whether this is a normal or blank model. A normal model is used to inspect for the presence of a character and is defined by an image of the character. A blank is used to inspect for the absence of a character defined by a width and height.
Top
See Also