Click or drag to resize

IMcBasicViewViewerGroup Property

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

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

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 which will check to see if it should automatically add an IMcBasicView instance (either an McView or a McDisplay) when a SetImageToDisplay call is made to display an image that is an "ancestor" of the McView operator (which is itself a child of the McGraphOverlay). The IMcBasicView is added to the McViewers collection if and only if the McViewers.ViewerGroupsToTrack property has a non-zero bit-by-bit intersection with the IMcBasicView.ViewerGroup. This bitwise comparison supports membership in and tracking of multiple viewer groups.
Note Note
On image creation, the standard McImage.Views property has its ViewerGroupsToTrack property set to all 32 bits of the 32 groups available. This means that by default the McImage.Views collection will track the addition of any IMcBasicView with any ViewerGroup value other than vgNoViewerGroup.
See Also