Click or drag to resize

mcSetLabelTextFlags Enumeration

Allowed bit values for the McDisplayedObjects.SetLabelText mcsltFlagsargument.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcSetLabelTextFlags
Members
  Member nameValueDescription
mcsltNoFlags0No flags
mcsltDisplayFeatureIndex1
mcsltDisplayFeatureID2If set, include the McFeature.Identifier with %d or %x
mcsltDisplaySourceData3If set, include the McFeature.SourceData with %s ifit is a string or with %f or %g if it is a floating point type or with %d or %x otherwise. Since you can assign a separate value to each feature's SourceData property, this choice allows you to assign an arbitrarily different label to each feature.
mcsltDisplayGraphID4
mcsltDisplaySourceFlags5If set, include the McFeature.SourceFlags with %d.Since you can assign a separate value to each feature's SourceFlags property, this choice allows you to assign an different integer label to each feature. The SourceFlags property can be assigned from an array, making it convenient to set values for all features in one assignment.
mcsltDisplayNumberMask15Mask for the display number flags
mcsltCopyBorderColor16if set, set TextColor to Feature BorderColor
mcsltCopyFillColor32if set, set TextColor to Feature FillColor
mcsltTextColorMask48Mask for the TextColor control bits
mcsltLabelTopleft1048576Object has a top left label attached.
mcsltLabelTopright2097152Object has a top right label attached.
mcsltLabelBtmleft4194304Object has a bottom left label attached.
mcsltLabelBtmright8388608Object has a bottom right label attached.
mcsltLabelCenter16777216include the Feature Indexwith %d,set TextColor to Feature BorderColor, Object has a bottom center label attached and labels are shown on top of the layer.
mcsltLabelLinebgn33554432Display the label underneath the object.
mcsltLabelLineend67108864
mcsltLabelInside134217728The label is shown inside rather than outside thespecified position. For mcsltLabelCenter, mcsltLabelLinebgn and mcsltLabelLineend, the position is moved to the other side of the specified position.
mcsltLabelHidden268435456
mcsltLabelRotates536870912The LabelObject'sAngleOfRotation property follows assignments to it's master object's AngleOfRotation property. Assignments to the LabelObject.AngleOfRotation can still be made.
mcsltLabelOnTopOfLayer1073741824When set, this bit forces theobject's label to be displayed at the top of the layer in which their master object is displayed. Such labels will be displayed after all other objects in the layer (including labels without this bit set) in the order in which their master object is displayed. If enabled, label collision prevention (see mcGraphOverlayOptionFlags.mcgoofMaskLabelCrowdingPrevention) continues to work for these "topmost" labels.
mcsltLabelPositionMask1877999616Mask for the label position flags, one must be set to display a label
mcsltLabelStyleMask2146435072Mask for the label position and hidden flags
mcsltDefault1090519057
Remarks
The argument can take three sets of flags, which may be OR'ed together. At most one of the mcltDisplayXxxx flags masked by mcsltDisplayNumberMask may be set. Internal Comment: Note that the mcsltLabel flags must match the mcgsLabel flags in McOvrMgr\McOvrMgr.idl there is an assert that tests this in the code
See Also