ZoomFactor Property
Applies To
Vision Objects: ImageOp
Description
Magnifies or reduces an image area.
Usage
VGet Sequence.Object.ZoomFactor, var
VSet Sequence.Object.ZoomFactor, 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
- Real variable that will contain the value of the property .
- value
- Real value or expression for the new value of the property.
Values
Positive real value between 0.1 and 10.0.
Remarks
ZoomFactor resizes the image bounded by the ImageOp search window from the center of the window.
When the image is magnified (ZoomFactor value is greater than 1), the enlarged image is clipped by the search window. When the image is reduced (ZoomFactor is less than 1), the image data outside of the search window is used. If not enough data is available, an error will occur.
See Also
ImageOp Object, Operation Property
← Z