CogOCVMaxFont PropertiesCognex VisionPro

The CogOCVMaxFont type exposes the following members.

Properties

  NameDescription
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.
(Inherited from CogSerializableChangedEventBase.)
Public propertyCharacterOriginsSettable
Whether the font is an image font whose characters can have their origins moved using SetCharacterOrigins.
Public propertyFontName
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.
Public propertyFontType
The intrinsic style of this font: Raster, Stroke, Outline, or Image.
Public propertyHasBlank
Whether or not this font has a blank character. Not all fonts have a blank character.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyImageFont
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.
Public propertyImported
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.
Public propertyImportFileName
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.
Public propertyLineSpacingX
This is the (horizontal) spacing between adjacent line origins in this font.
Public propertyLineSpacingY
This is the (vertical) spacing between adjacent line origins in this font.
Public propertyProportional
Whether or not this font is proportional. A font is proportional if the characters do not all have the same advance value.
Public propertySpotSize
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.
Public propertySpotSizeUsed
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.
Public propertySpotSpacingUsed
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.
Public propertyStateFlags
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.)
Top
See Also