Description

A graphic object displaying some text on top of an image.

Object Model



Remarks

All graphic objects can optionaly have an attached label (McGraphObj.LabelObject). This label is itself an McGraphObjText, which gives full control over its appearance.

See McGraphObjRect for the position of handles and points.

Members

Methods
Duplicatemethod Duplicate
EditPropertiesmethod EditProperties
GetBoundsmethod GetBounds
GetCentermethod GetCenter
GetHandlemethod GetHandle
GetLabelOffsetmethod GetLabelOffset
GetPointsmethod GetPoints
GetPositionmethod GetPosition
GetSize

Returns the width and height of the object.

HitTestmethod HitTest
ImportPropertiesmethod ImportProperties
Intersectsmethod Intersects
NotifyCreationCompletemethod NotifyCreationComplete
Removemethod Remove
SaveAsTemplatemethod SaveAsTemplate
SetHandlemethod SetHandle
SetLabelOffsetmethod SetLabelOffset
SetPositionmethod SetPosition

Properties
AlignmentRead-write property

Property controlling whether the text is centered or left aligned.

AutoSizeRead-write property

Specifies whether the background rectangle should automatically fit the text size.

BorderColorRead-write propertyproperty BorderColor
BorderStyleRead-write propertyproperty BorderStyle
BorderWidthRead-write propertyproperty BorderWidth
CategoryRead-only propertyproperty Category
ClassNameRead-only propertyproperty ClassName
DrawingOrderRead-only propertyproperty DrawingOrder
EmptyRead-only propertyproperty Empty
FillColorRead-write propertyproperty FillColor
FillStyleRead-write propertyproperty FillStyle
FontRead-write property

Property used to access the font information for this McGraphObjText.

FrameEndRead-write propertyproperty FrameEnd
FrameStartRead-write propertyproperty FrameStart
IDRead-only propertyproperty ID
LabelObjectRead-only propertyproperty LabelObject
LineEndingRead-write propertyproperty LineEnding
OverlayRead-only propertyproperty Overlay
SelectedRead-write propertyproperty Selected
SelectedOrderRead-only propertyproperty SelectedOrder
SquareRead-write property

A read/write boolean property used to enforce a square shape.

StyleRead-write propertyproperty Style
TemplateIDRead-only propertyproperty TemplateID
TextRead-write property

Exposes the text displayed by this object.

TextColorRead-write property

Property used to set or get the color of the text.

UserDataRead-write propertyproperty UserData
UserFlagRead-write propertyproperty UserFlag
WordBreakRead-write property

Specifies whether words should automatically be broken at the end of a line or not.

ZoomWithImageRead-write propertyproperty ZoomWithImage