Share

MText.Attachment Property

Description

Accesses a value describing the attachment point for the MText object.

The attachment point value determines how the text will be oriented around the insertion point of the MText object. For example, if the attachment point is MText.MiddleCenter, then the text body will be displayed such that the insertion point appears at the geometric center of the text body.

The property has these valid values:

AttachmentPoint::TopLeft

AttachmentPoint::TopCenter

AttachmentPoint::TopRight

AttachmentPoint::MiddleLeft

AttachmentPoint::MiddleCenter

AttachmentPoint::MiddleRight

AttachmentPoint::BottomLeft

AttachmentPoint::BottomCenter

AttachmentPoint::BottomRight

Visual Basic

Public Property Attachment() As Autodesk.AutoCAD.DatabaseServices.AttachmentPoint

C#

public Autodesk.AutoCAD.DatabaseServices.AttachmentPoint Attachment;

Returns

Returns Acad::eOk if successful or Acad::eInvalidInput if the data passed in is not acceptable

Conditions

Read / Write

Links

MText Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?