Click or drag to resize

IMcViewViewerGroup Property

A read/write property indicating which to which viewer groups this viewer belongs.

Namespace:  MediaCy.IQL.Display.Viewer
Assembly:  MediaCy.IQL.Display.Viewer (in MediaCy.IQL.Display.Viewer.dll) Version: 10.0.6912.0
Syntax
VB
Property ViewerGroup As mcViewGroupEnum
	Get
	Set

Property Value

Type: mcViewGroupEnum
Remarks
Viewer groups are used to indicate what kinds of actions should be taken with a particular view. Several standard viewer groups are predefined, but clients can assign their own. User defined viewer group values should consist of a single bit starting at hex 0x100. Viewer groups are used to determine which overlay(s) display on which view(s). A McGraphOverlay instance holds an McViews collection (the McGraphOverlay.Views property) which will check to see if it should automatically add an McViewer instance when a SetImageToDisplay call is made to display an image that is an "ancestor" of the McViews operator (which is itself a child of the McGraphOverlay). The McView is added to the McViews collection if and only if the McViews.ViewerGroupsToTrack property has a non-zero bit-by-bit intersection with the McView.ViewerGroup property. This bitwise comparison supports membership in and tracking of multiple viewer groups.
Note Note
On image creation, the standard Image.Views property has its ViewerGroupsToTrack property set to all 32 bits of the 32 groups available. This means that by default the Image.Views collection will track the addition of any IMcBasicView with any ViewerGroup value.
See Also