Orientation Property
Applies To
Vision Object: CodeReader
Description
Sets / returns the orientation of the bar code.
Usage
VGet Sequence.Object.Orientation, var
VSet Sequence.Object.Orientation, value
- Sequence
- 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
- Integer variable that will contain the value of the property.
- value
- Integer expression for the new value of the property.
Values
Sets the expected orientation of the bar code by following values
- 1 - Both
- Vision constant: VISION_ORIENT_BOTH
- Vertical and horizontal
- 2 - Horizontal
- Vision constant: VISION_ORIENT_HORIZ
- Horizontal
- 3 - Vertical
- Vision constant: VISION_ORIENT_VERT
- Vertical
Default: 1 - Both
Remarks
Sets and returns the expected orientation of the bar code.
See Also
CodeReader Object