GridUnits Property

Applies To
Vision Sequence

Description
When the grid type for the vision sequence is Rectangle, specifies the unit of GridPitchX and GridPitchY property values.

Usage

VGet  Sequence.GridUnits, var
VSet  Sequence.GridUnits, value
Sequence
String variable containing a sequence name.
var
Integer variable that will contain the value of the property.
value
Integer value or expression for the new value of the property.

Values

  • 1 - Pixel
    • Vision constant: VISION_GRIDUNITS_PIXEL
    • Pixels
  • 2 - MM
    • Vision constant: VISION_GRIDUNITS_MM
    • Millimeters

Default: 1 - Pixel

Remarks
When the grid type for the vision sequence is Rectangle, specifies the unit of GridPitchX and GridPitchY property values.

See Also
Vision Sequence, GridColor Property, GridPitchX Property, GridPitchY Property, GridShow Property, GridType Property