CogOCVCharacterPosition GetScalingRotationTranslation Method Cognex VisionPro 9.5
Wide getter 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.OC
Assembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 69.0.0.0
Syntax

public void GetScalingRotationTranslation(
	out double scaling,
	out double rotaton,
	out double translationX,
	out double translationY
)

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 expected character position.

translationY
Type: System Double 

The y-translation from the pattern origin of the character position.

Remarks

Gets the expected location, rotation, and scale of this character position with respect to the overall pattern origin.

See Also