The CogOCVMaxFont type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| 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.
(Inherited from CogSerializableChangedEventBase.) | |
| CharacterOriginsSettable | Whether the font is an image font whose characters can have their origins moved using SetCharacterOrigins. | |
| FontName | The name of this font, as defined in the imported font file. An exception is generated if this read-only property is accessed before importing a font file. | |
| FontType | The intrinsic style of this font: Raster, Stroke, Outline, or Image. | |
| HasBlank | Whether or not this font has a blank character. Not all fonts have a blank character. | |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| ImageFont | Whether or not this font is an image font, i.e. whether it is based on stored bitmaps of characters rather than on synthetic descriptions of characters. | |
| Imported | Whether or not this font has been imported from a font file. True if it has, false if it has not. Most other CogOCVMaxFont properties and methods require that this be true. | |
| ImportFileName | The name of the file from which this font was imported. An exception is generated if this read-only property is accessed before importing a font file. | |
| LineSpacingX | This is the (horizontal) spacing between adjacent line origins in this font. | |
| LineSpacingY | This is the (vertical) spacing between adjacent line origins in this font. | |
| Proportional | Whether or not this font is proportional. A font is proportional if the characters do not all have the same advance value. | |
| SpotSize | In a laser printer, a laser beam is swept across a photo-sensitive drum. The diameter, in microns, of the laser beam at the drum surface is the spot size. Other printing processes have their own intrinsic spot size definition. Note that not all fonts use spot size. Please check the SpotSizeUsed property first before attempting to access the SpotSize property. | |
| SpotSizeUsed | Whether or not this font uses spot size. If this property is false, you may not get or set spot size (an exception will be thrown if you try). Like most font properties, an exception will be generated if this read-only property is accessed before importing a font file. | |
| SpotSpacingUsed | Whether or not this font uses spot spacing. Typically, raster and stroke fonts can use spot spacing, while outline and image fonts cannot. Like most font properties, an exception will be generated if this read-only property is accessed before importing a font file. | |
| StateFlags |
Returns the complete set of state flags supported on this object. The
flags may be indexed by name as shown in the following C# code snippet:
if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.) |
See Also