Click or drag to resize

mcGraphObjTextControlFlags Enumeration

Control flags for the IMcGraphObjTextEx.TextControlFlags 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 mcGraphObjTextControlFlags
Members
  Member nameValueDescription
mcgotcfNoFlags0No flags
mcgotcfAllFlags-1All flags
mcgotcfOpaqueText1If set, theMcGraphObj.Opacity property is not applied to the text itself, but only to other elements of the display (i.e., the background fill and border). The McGraphOverlay.LayerOpacity is still applied, so that when the entire layer is dimmed, the text will dim as well. The purpose of this flag is to allow a translucent background behind visible text. (See also mcgotcfOpaqueLabelLine and mcGraphObjExtendedStyle.mcgesOpaqueBorders).
mcgotcfShadowText2If set and theIMcGraphObjTextEx.ShadowOffsetXY is non-zero, then IMcGraphObjText.Text is displayed with an offset shadow.
mcgotcfShadowNotesText4If set and theIMcGraphObjTextEx.ShadowOffsetXY is non-zero, then IMcGraphObjTextEx.NotesText is displayed with an offset shadow.
mcgotcfDefaultShadowColorIsComplement8If set and theIMcGraphObjTextEx.ShadowColor or NotesShadowColor is -1, then the shadow color will be the complement of the text color; if clear it will be either Black or White. If the FillColor is -1 and a filled rectangle is shown, then the same algorithm is used to determine the fill color.
mcgotcfSolidShadow16If set theshadow will have the same opacity as the text. If clear (the default), it will have a fraction of the opacity of the text.
mcgotcfFixedRounding32If set, theIMcGraphObjTextEx.BoxRounding property is interpreted as a fixed rounding, given in pixels at 100% zoom (that is, the rounding will follow the zoom of the rectangle unless the McGraphObj.ZoomWithImage property is False). If clear (the default), then the IMcGraphObjTextEx.BoxRounding property is interpreted as a percentage of the font height, so that as the font is changed or as the text size zooms, the rounding will change as well. If the state of this flag is changed, the IMcGraphObjTextEx.BoxRounding property is set to zero, so you must set this flag to the desired state before assigning to the BoxRounding property.
mcgotcfNoNotesSeparator256If set then no separatorline is drawn between the Text and the NotesText. If clear (the default state) and the IMcGraphObjTextEx.NotesText is not empty, then a separator is drawn below the Text above the NotesText. No separator is drawn if NotesText is empty.
mcgotcfUnsyncNotesFont512If set, theIMcGraphObjTextEx.NotesFont property is maintained separately from the IMcGraphObjText.Font property. If clear (the default), then the two fonts are synchronized.
mcgotcfNotesMetafile1024If set, theIMcGraphObjTextEx.NotesText property is maintained as an Enhanced Metafile. If clear (the default), then the the NotesText is a BSTR (wide character string).
mcgotcfDrawPointerLine4096If set, a pointer line is drawnfrom the McGraphObjText object to the McGraphObjTextEx.PointerLineAnchorPosition interpreted as specified by the McGraphObjTextEx.PointerLineAnchorHandle property. If the McGraphObjText object is a label that is displayed away from its location as specified by the McGraphObj.Style mcGraphObjStyle.mcgsLabelPositionBitsMask value then a line is drawn to the location from the nearest part of the label bounding rectangle. If the line is displayed, then IMcGraphObjTextEx.PointerLineEndingStyle determines which symbol, if any is used as the line end.
mcgotcfOpaquePointerLine8192If set, theMcGraphObj.Opacity property is not applied to the pointer line itself, but only to other elements of the display (i.e., the background fill and border). The McGraphOverlay.LayerOpacity is still applied, so that when the entire layer is dimmed, the line will dim as well. (See also mcgotcfOpaqueText and mcGraphObjExtendedStyle.mcgesOpaqueBorders).
mcgotcfHideInteriorPointerLine16384If set, and a pointer line is drawn(see McGraphObjTextEx.mcgotcfDrawPointerLine) such that the start of the pointer line is interior to the text rounded rectangle, then the line is not drawn. If clear (the default), then the pointer line is still drawn even though it will appear under rather than outside of the text rounded rectangle.
mcgotcfHideLabelAnchorMarker32768If set and the McGraphObjTextis a label, then the triangular label anchor position marker is not displayed. If it is clear, then a marker is placed at the corner or edge of the label which is attached to the offset anchor postion on the master object. This bit is automatically set if the mcgotcfDrawPointerLine bit is set.
mcgotcfDraggableLabelOrPointerLine65536If set and is the label of asingly selected object, the user may drag the label to a new offset from its master object. If the text object is not a label and a pointer line is displayed, then the user may drag the start of the pointer line to a new position on the image.
mcgotcfDisplayNonSelectedLabel1048576If set and is the label of anon-selected object, then the label is displayed irrespective of the state of the IMcGraphOverlayEx.SelectedLabelHandling property's mcGraphOverlaySelectedLabelHandling.mcgoslhHideNonSelectedLabelsAlways or mcgoslhHideNonSelectedIfAnySelected flags. See also mcgotcfIgnoreSelectedLabelHandlingAppearance.
mcgotcfIgnoreSelectedLabelHandlingAppearance2097152If set and isthe label of a selected object, then the label's appearance is not affected by any of the the IMcGraphOverlayEx.SelectedLabelHandling property's appearance related flags (e.g. mcgoslhForceBold). The mcGraphOverlaySelectedLabelHandling.mcgoslhHideNonSelectedLabelsAlways or mcgoslhHideNonSelectedIfAnySelected flags are honored unless the mcGraphObjTextControlFlags.mcgotcfDisplayNonSelectedLabel bit is set in the TextControlFlags property.
mcgotcfLabelOffsetOptionsMask50331648Mask for a value specifyinghow the a McGraphObjText which is a label that has an offset from its base position is to be handled as the image is zoomed or scrolled. The Doc coordinates offset established by a call to McGraphObj.SetLabelOffset is never changed, but an internal effective offset is computed for each IMcBasicView on which the overlay is displayed.
mcgotcfLabelOffsetAuto0If theIMcGraphOverlayEx.OptionFlags mcGraphOverlayOptionFlags.mcgoofEnableLabelAutoRearrange bit is set, then the effective offset is automatically adjusted to avoid collisions based on the mcGraphOverlayOptionFlags.mcgoofMaskLabelCrowdingPrevention value. If the mcgoofEnableLabelAutoRearrange bit is clear, then the effective offset is the Doc coord offset zoomed or unzoomed based on the master McGraphObj.ZoomWithImage property (i.e. same as the mcgotcfLabelOffsetTrackZoom offset option).
mcgotcfLabelOffsetNoZoom16777216The effective offset is justthe Doc coord offset unzoomed. Not currently supported.
mcgotcfLabelOffsetTrackZoom2097152The effective offset is justthe Doc coord offset either zoomed or unzoomed based on the master McGraphObj.ZoomWithImage property. Not currently supported.
mcgotcfLabelOffsetFixedDoc50331648The effective offset isadjusted so that the label's anchor point is always placed on the same Doc coord location.
See Also