CogOCVMaxFontRenderParams PropertiesCognex VisionPro

The CogOCVMaxFontRenderParams type exposes the following members.

Properties

  NameDescription
Public propertyBackgroundGrey
The background greyscale value to be used in rendering the space surrounding some text. This property is ignored by those operations that do not actually draw into a pelbuffer.
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 propertyCharacterSpacingAddedX
Add to the X-axis distance between one character origin and the origin of the next character on the same line. A positive value increases inter-character spacing, a negative value decreases inter-character spacing, and the default value 0.0 produces no change in rendered text.
Public propertyCharacterSpacingAddedY
Add to the Y-axis distance between one character origin and the origin of the next character on the same line. A non-zero value produces a staircase-like line of text, while the default value 0.0 produces no change in rendered text. This property is rarely used.
Public propertyForegroundGrey
The foreground greyscale value to be used in rendering text. This property is ignored by those operations that do not actually draw into a pelbuffer.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyImagePelPadding
The number of pels of background to add to each side of some rendered text image. A value of zero means do not pad.
Public propertyLineSpacingAddedX
Add to the X-axis distance between one line origin and the origin of the next line in the same paragraph. A non-zero value produces a paragraph with lines staggered like a staircase, while the default value 0.0 produces no change in rendered text. This property is rarely used.
Public propertyLineSpacingAddedY
Add to the Y-Axis distance between one line origin and the origin of the next line in the same paragraph. A positive value increases inter-line spacing, a negative value decreases inter-line spacing, and the default value 0.0 produces no change in rendered text.
Public propertySpotSizeScale
Scale (multiply) the rendered text spot size by this value. Ignored by fonts for which SpotSizeUsed is false (e.g. outline fonts). The default value of 1.0 produces no change in rendered text.
Public propertySpotSpacingScaleX
Scale (multiply) the spacing along the X axis of rendered text spots by this value. Ignored by fonts for which SpotSpacingUsed is false (e.g. outline fonts). The default value of 1.0 produces no change in rendered text.
Public propertySpotSpacingScaleY
Scale (multiply) the spacing along the Y axis of rendered text spots by this value. Ignored by fonts for which SpotSpacingUsed is false (e.g. outline fonts). The default value of 1.0 produces no change in rendered text.
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.)
Public propertyStrokeWidthAdded
Add to the nominal stroke width of text for a given font using morphology. A positive value increases stroke width, a negative value decreases it, and the default value 0.0 produces no change in rendered text. This property is typically only useful with fonts for which SpotSizeScale does not apply, such as outline fonts.
Top
See Also