SetSize Method
Syntax
CWIMAQImage.SetSize Width, Height
Purpose
Sets the size of an image.
Remarks
Calling this method destroys any data currently contained in the Image object. This method returns an image with uninitialized pixels.
Parameters
Width As Long
The new width of the image.
Height As Long
The new height of the image.
Example
' Set the size of an image to 256 by 256 CWIMAQViewer1.Image.SetSize 256,256