Click or drag to resize

mcGraphOverlayOptionFlags Enumeration

Allowed flags for the IMcGraphOverlayEx.OptionFlags property.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcGraphOverlayOptionFlags
Members
  Member nameValueDescription
mcgoofNoFlags0No flags.
mcgoofDisablePolyToolAutoTrace1If set, then the built-inMcGraphObjPoly creation tool will not allow auto-tracing.
mcgoofNotifyDragDuringCreation2If set, thenObjectHandleDragged events are fired during object creation. During these events, the mcGraphOverlayNotifyContext.mcgoncCreationNotComplete bit will be set in the NotifyContext property
mcgoofLabelCrowdingTestOnSelected4If set and if any labelcrowding prevention is enabled (OptionFlags masked by mcgoofMaskLabelCrowdingPrevention is not mcgoofLabelCrowdingPrevention0) then labels associated with selected objects will be included in the crowding collision tests. If clear (the default case), then labels on selected objects will always be displayed, even if this means that the label of a selected object will collide with a label of an object below it (earlier in the display order).
mcgoofLimitDocCoordsToImage8If set, all of thebuild-in tools will refuse to move handles or the object position beyond the bounds of displayed image in the view running the tool. Setting or clearing this bit affects custom tools the next time they are started, but has an immediate effect on any running, built-in tool.
mcgoofMaskScreenMode112A mask for the "ScreenMode" options, mcgoofScreenMode...
mcgoofScreenModeOff0By default, thecoordinate space of a McGraphOverlay is synchronized to the Pan/Scroll and Magnification of the McView(s) on which the overlay is being displayed. By setting the overlay into "screen mode", the coordinate space becomes independent of the Pan/Scroll and Magnification of the host McView, but instead is mapped onto a grid of 1000 by 1000 pixels scaled to cover the McView's client window. There are five flavors to this mode, each of which determines where the 999'th coordinate value lies when the client window is not square. Assign mcgoofScreenModeOff to IMcGraphOverlayEx.OptionFlags, masked by mcgoofMaskScreenMode, to turn off screen mode and restore coordinate mapping to the default state.
mcgoofScreenModeWidth16Assign this toIMcGraphOverlayEx.OptionFlags, masked by mcgoofMaskScreenMode, to set the overlay into screen mode with the 999'th X coordinate value mapped onto the rightmost client window pixel. The 999'th Y coordinate value may be either short-of or beyond the bottom of the client window.
mcgoofScreenModeHeight32Assign this toIMcGraphOverlayEx.OptionFlags, masked by mcgoofMaskScreenMode, to set the overlay into screen mode with the 999'th Y coordinate value mapped onto the bottom-most client window pixel. The 999'th X coordinate value may be either short-of or beyond the right of the client window.
mcgoofScreenModeSmallest48Assign this toIMcGraphOverlayEx.OptionFlags, masked by mcgoofMaskScreenMode, to set the overlay into screen mode with the 999'th X or Y coordinate value mapped onto either the rightmost or the bottom-most client window pixel, depending on which dimension is smallest. The 999'th coordinate value on the other axis will be short of the client window border for any non-square window.
mcgoofScreenModeLargest64Assign this toIMcGraphOverlayEx.OptionFlags, masked by mcgoofMaskScreenMode, to set the overlay into screen mode with the 999'th X or Y coordinate value mapped onto either the rightmost or the bottom-most client window pixel, depending on which dimension is largest. The 999'th coordinate value on the other axis will be beyond the client window border for any non-square window.
mcgoofScreenModeAsymetric80Assign this toIMcGraphOverlayEx.OptionFlags, masked by mcgoofMaskScreenMode, to set the overlay into screen mode with the 999th X coordinate value mapped onto the rightmost window pixel and the 999th Y coordinate value mapped onto the bottom-most client window pixel. The effect will to be to distort the shape of objects with the ZoomWithImage property set True.
mcgoofMaskLabelCrowdingPrevention896Mask for the degree ofLabel crowding prevention. Labels are drawn in the order of their master object. Label crowding protection is applied by comparing the overlap of each label with labels already drawn; if the overlap is too great, then that label is not drawn.
mcgoofLabelCrowdingPrevention00No label crowdingprotection is done; labels are allowed to overlap to any degree. This is the default state.
mcgoofLabelCrowdingPrevention1128Weak crowding protectionis done; labels are allowed to overlap by 40% of the label height along any edge.
mcgoofLabelCrowdingPrevention2256Moderately weak crowdingprotection is done; labels are allowed to overlap by 25% of the label height along any edge.
mcgoofLabelCrowdingPrevention3384Moderate crowdingprotection is done; labels are allowed to overlap by 10% of the label height along any edge.
mcgoofLabelCrowdingPrevention4512Complete crowdingprotection is done; labels are not allowed to overlap at all along any edge.
mcgoofLabelCrowdingPrevention5640Strong crowdingprotection is done; labels are not allowed to overlap with any other label coming within 10% of the label height vertically and within 50% of the label height horizontally.
mcgoofLabelCrowdingPrevention6768Stronger crowdingprotection is done; labels are not allowed to overlap with any other label coming within 50% of the label height vertically and within 75% of the label height horizontally.
mcgoofLabelCrowdingPrevention7896Strongest crowdingprotection is done; labels are not allowed to overlap with any other label coming within 80% of the label height vertically and within 100% of the label height horizontally.
mcgoofEnableLabelAutoRearrange1024If set and themcgoofMaskLabelCrowdingPrevention value is non-zero, then instead of hiding labels that overlap previously displayed labels, an attempt is made to move the label to a new position. If such a move is not possible after trying a number of possible alternate label positions, then the label is not displayed.
mcgoofAllowPartialLabels2048If set, then a label isallowed to extend outside the display client area, which will cut off a portion of it. If clear (the default), then labels are either not displayed or are moved to a new position (if the mcgoofEnableLabelAutoRearrange flag is set). Even if the bit is clear, a small amount of the label is allowed to extend outside the client area.
mcgoofRestrictLabelsToImage4096If set and the overlayis being displayed on an IMcBasicView which is displaying an image, then a label is not allowed to extend outside the image display; in this case, labels are either not displayed or are moved to a new position (if the mcgoofMaskLabelCrowdingPrevention value is non-zero and mcgoofEnableLabelAutoRearrange is set). Even if the bit is set, a small amount of the label is allowed to extend outside the image. If clear (the default), then labels are allowed to extend outside of the image so long as they stay within the view client area (see mcgoofAllowPartialLabels).
mcgoofSetZoomLimitOnUserCreate65536If set, the ZoomWithImageLimitproperty is set to 30% of the current magnification on the IMcBasicView hosting the creation tool if that value is greater than the WorkingZoom. This value is set only if the value is larger than the McGraphOverlay.WorkingZoom property.
mcgoofSetZoomLimitOnLinkedCreate131072If set, when a McGraphObjlinked to a McFeatures is created by the McFeatures, the ZoomWithImageLimit property is scaled to a magnification such that the label will show full size only at zooms larger than that necessary for the object to fill 1% of the screen. This value is set only if the value is larger than the McGraphOverlay.WorkingZoom property.
mcgoofAllowMousewheelScaling262144If set, for objects withthe McGraphObjEx.ExtendedStyle property mcGraphObjExtendedStyle.mcgesDisallowScaling bit clear (the default state), then the when the mousewheel is rolled over a handle or the body of a selected object, the symbol scaling, border width or size will be adjusted with mousewheel clicks. If clear then only objects with the McGraphObjEx.ExtendedStyle property mcGraphObjExtendedStyle.mcgesForceAllowScaling bit set may be scaled interactively with the mouse wheel. During image initialization, the mcgoofAllowMousewheelScaling bit is set for Annotation and Aoi overlays based on the state of the Setting( Overlay, OverlayDefaults, AllowMousewheelScaling), which is true by default. For Measurements, there is a McMMOptions.AllowMousewheelScaling property which controls whether this bit is set in the Measurement overlay.
mcgoofNoMousewheelSymbolScaling524288This flag has an effectonly if mcgoofAllowMousewheelScaling is set. In this case, if mcgoofNoMousewheelSymbolScaling is set, then enabled objects can still be scaled in size, but line-widths and symbol sizes will not be scaled by mousewheel movements. This bit is off by default for the Annotation and Aoi overlays, but is set for Measurement overlays.
See Also