RotationAngle Property
Applies To
Vision Objects: ImageOp
Description
Sets/returns the angle of rotation for the ImageOp object Rotate operation.
Usage
VGet Sequence.Object.RotationAngle, var
VSet Sequence.Object.RotationAngle, value
- Sequence
- Name of a sequence or string variable containing a sequence name.
- Object
- Name of an object or string variable containing an object name. The object must exist in the specified sequence.
- var
- Real variable that will contain the value of the property.
- value
- Real number or expression for the new value of the property.
Values
Default: 0
Remarks
RotationAngle is used to determine how many degrees to rotate the image when the AngleObject property is set to Screen. If AngleObject is not set to Screen, the RotationAngle setting has no effect.
If RotationDirection is set to CCW, the direction of rotation is counter-clockwise when the angle is a positive value. If RotationDirection is set to CW, the direction of rotation is clockwise when the angle is a positive value.
Pixels that are not in the rotation are set to 0 (black).
See Also
AngleObject Property, ImageOp Object, Operation Property, RotationDirection Property