Wide setter for character position. The character position is the position of a font model's origin with respect to the expected position of the pattern which the user supplies at run-time.
Namespace: Cognex.VisionPro.OCAssembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 75.1.0.0
Syntax
Parameters
- scaling
- Type: System Double
The expected scale of the character.
- rotaton
- Type: System Double
The expected rotation of the character's origin, with respect to the expected pattern position in radians.
- translationX
- Type: System Double
The x-translation from the pattern origin of the character position.
- translationY
- Type: System Double
The y-translation from the pattern origin of the character position.
Events
| Event Type | Reason |
|---|---|
| CogOCVCharacterPosition Changed | Fires when this property changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | scaling is <= 0. |
Remarks
Sets the expected location, rotation, and scale of this character position with respect to the overall pattern origin.
See Also