ImageSize Property

Applies To
Vision Sequence

Description
Sets and returns the image size of the search image.

Usage

VGet  Sequence.ImageSize, var
VSet  Sequence.ImageSize, 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
Specify the constant which represents the image size. For details on available constants, refer to Remarks.

Remarks
Sets the image size for the search image. When ImageSource is Camera, ImageSize specifies the size of the image that is transferred from the camera. This allows for faster image acquistion when using lower resolutions. When ImageSource is File, ImageSize specifies the size of the file image.

You cannot set the ImageSize to a value that is larger than the maximum image size supported by the current camera.

Available constants are as follows:

Vision constant name Resolution
VISION_IMAGESIZE_320X240 Image width:320, image height: 240
VISION_IMAGESIZE_640X480 Image width:640, image height: 480
VISION_IMAGESIZE_800X600 Image width:800, image height: 600
VISION_IMAGESIZE_1024X768 Image width:1024, image height: 768
VISION_IMAGESIZE_1280X1024 Image width: 1280, image height: 1024
VISION_IMAGESIZE_1600X1200 Image width:1600, image height: 1200
VISION_IMAGESIZE_2048X1536 Image width:2048, image height: 1536
VISION_IMAGESIZE_2448X2048 Image width:2448, image height: 2048
VISION_IMAGESIZE_2560X1920 Image width:2560, image height: 1920
VISION_IMAGESIZE_3664X2748 Image width:3664, image height: 2748
VISION_IMAGESIZE_4024X3036 Image width:4024, image height: 3036
VISION_IMAGESIZE_5472X3648 Image width:5472, image height: 3648

See Also
Vision Sequence, ImageFile Property, ImageFileScale Property