CWIMAQViewer

NI Vision for Visual Basic

CWIMAQViewer

CWIMAQViewer is the top-level object for the CWIMAQViewer control.

Properties

AutoDeleteBoolean that specifies if existing regions are removed from the collection when you add a new region from the CWIMAQViewer user interface.
BackgroundOptionsModifies the background style and color information for the viewer.
CenterXX-coordinate of the image that the method places in the center of the viewer when the image is larger than the viewer.
CenterYY-coordinate of the image that the method places in the center of the viewer when the image is larger than the viewer.
ContextSensitiveToolsBoolean that enables or disables context sensitive tool selection.
DisplayMappingMapping technique used when displaying a 16-bit grayscale image.
FrameColorColor of the 3D frame around the viewer.
FrameWidthWidth of the 3D frame around the viewer.
ImageImage object that the viewer displays.
ImageAreaColorColor of the area in which the viewer displays the image.
ImmediateUpdatesBoolean that specifies if the viewer draws new data as soon as it is available, or if the form refreshes the viewer when it draws other controls.
MaxContoursMaximum number of contours the viewer can have in its ROI.
MenuItemsTools that appear in the viewer run-time popup menu.
NonTearingDisplayBoolean value that specifies if the display should be in nontearing mode.
OriginXX-coordinate of the image that the method places in the upper left corner of the viewer when the image is larger than the viewer.
OriginYY-coordinate of the image that the method places in the upper left corner of the viewer when the image is larger than the viewer.
PalettePalette that the viewer uses to display the image.
RegionsCollection of CWIMAQRegion objects that specify regions on the viewer.
ShowImageInfoBoolean that specifies if the viewer displays image information on the status bar.
ShowScrollbarsBoolean that specifies if the viewer displays scrollbars.
ShowToolbarBoolean that specifies if the viewer displays a toolbar.
ShowToolInfoBoolean that specifies if the viewer displays tool information on the status bar.
StatusBarTextColorText color of the items on the status bar.
ToolCurrently selected tool.
ViewerFrameStyleStyle of the frame around the viewer.
ZoomScaleZoom factor.
ZoomToFitBoolean value that specifies if the display should automatically resize the image to fit in the viewer.

Methods

AboutBoxDisplays the About box for the control.
AttachAttaches a CWIMAQImage object to the viewer.
CenterMoves the specified point of the image to the center of the viewer window.
ControlImageReturns an image of the entire control.
DetachDetaches an image from a Viewer object.
ExportStyleExports the style of the NI Vision control to a file.
ImportStyleImports a previously exported style.
RefreshRedraws the CWIMAQViewer control immediately.

Events

ClickFires when you click the control.
DblClickFires when you double-click the control.
ImageMouseDown, ImageMouseMove, ImageMouseUpImageMouseDown fires when you click the control.
ImageMouseMove fires when you move the mouse over the control.
ImageMouseUp fires when you release the mouse on the control.
ImagePannedFires when you pan the image in the viewer.
ImageZoomedFires when you zoom the image in the viewer.
KeyDown, KeyUpKeyDown fires when you press a key while the control has the input focus.
KeyUp fires when you release a key while the control has the input focus.
KeyPressFires when a KeyDown message generates a key while a control is active.
MouseDown, MouseMoveMouseDown fires when you click the mouse on the control.
MouseUp fires when you release the mouse on the control.
PaletteChangedFires when the palette type changes.
RegionsChangedFires when you modify the Regions collection or any of the regions in the collection.
ToolChangedFires when you change the currently selected tool.