WindowPlot Method
Syntax
CWIMAQ.WindowPlot Window [, ImageIndex = 1] [, WindowXPosition = 0] [, WindowYPosition = 0]
Return Type
This method returns 0 on success, a negative number on an error, and a positive number on a warning.
Purpose
Obsolete—Use the CWIMAQViewer object to display images.
Plots an image to a window given a native window handle. Use this method to display an image after it is acquired.
Parameters
Window As Window
The handle of the window where the method plots the image.
ImageIndex As Variant
[Optional] Index of the image in the Images collection that you want to plot.
This parameter has a default value of 1.
WindowXPosition As Variant
[Optional] The x-coordinate of the point where the method plots the image in the window.
This parameter has a default value of 0.
WindowYPosition As Variant
[Optional] The y-coordinate of the point where the method plots the image in the window.
This parameter has a default value of 0.