CogOCVCharacterPosition SetScalingRotationTranslation Method Cognex VisionPro 9.7
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.OC
Assembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 73.0.0.0
Syntax

public void SetScalingRotationTranslation(
	double scaling,
	double rotaton,
	double translationX,
	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 character position.

translationY
Type: System Double

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

Events

Exceptions

ExceptionCondition
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