Viewer Control Overview

NI Vision for Visual Basic

Viewer Control (User Interface Control)

Note  If you received the CWIMAQ control as part of NI-IMAQ and have not purchased NI Vision for Visual Basic, the CWIMAQViewer control is in evaluation mode.

Use the CWIMAQViewer control to display and manipulate images. This control displays static or dynamic images and supports graphical region of interest tools.

Objects in the CWIMAQViewer control represent the different parts displayed on the physical representation of the viewer, including the Viewer object, Regions collection and Region object, Palette object, and Image object.

  • Viewer object—An object that contains the basic properties of the control, such as BorderWidth and ZoomScale.
  • Regions collection and Region object—Objects used to control the selection of regions of interest on the image.
  • Palette object—An object that controls the mapping of bitmap pixel values to colors viewed on screen. Use palettes to view image data in different ways. You can use any of the predefined palettes or define your own.
  • Image object—The object that holds the image data the viewer is displaying.
  • Display mapping object—The object that enables display mapping for 16-bit images.

You can view a complete list and description of all properties, methods, and events associated with the CWIMAQViewer control.