Caption Property
Applies To
Vision Objects: All vision objects other than Decision and Coordinates
Description
Sets or returns the text to be displayed for an object's label on the screen.
Usage
VGet Sequence.Object.Caption, var
VSet Sequence.Object.Caption, 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
- String variable that will contain the value of the property.
- value
- String or string expression for the new value of the property.
Values
String of 16 characters or less. Any alphanumeric or the following punctuation characters are allowed.
' _ ( ) * & $ # @ . : \ / < > "
Default: Empty string
Remarks
The Caption property allows you to assign an arbitrary label to the vision object. As default, nothing is set to the Caption property. The name of the object will be used as its label on the screen.
See Also
ArcFinder Object, ArcInspector Object, Blob Object, CodeReader Object, Correlation Object, DefectFinder Object, Edge Object, Frame Object, Geometric Object, ImageOp Object, Line Object, LineFinder Object, LineInspector Object, OCR Object, Point Object, Polar Object