The CogOCFontModel type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| BlankHeight | BlankWidth and BlankHeight specify the size, in pixel units, of a blank model image. The Image property is not used for blank models. | |
| BlankWidth | BlankWidth and BlankHeight specify the size, in pixel units, of a blank model image. The Image property is not used for blank models. | |
| ChangedEventSuspended | 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. | |
| Description | Description simply provides a string for the user to store additional information or comments about their font model. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| Image | Image of the character to be verified for a normal font model. The Image property is ignored for a blank model. | |
| ImageMask | 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. | |
| ImageMaskOffsetX | 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. | |
| ImageMaskOffsetY | 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. | |
| Instance | 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. | |
| Name | The Name of this font model. The Name and Instance of a font model uniquely identify the model within a font. | |
| Origin | 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. | |
| Type | 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. |
See Also