C++
AttachmentPoint attachment() const;
Description
Returns 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 AcDbMText ::kMiddleCenter, then the text body will be displayed such that the insertion point appears at the geometric center of the text body.
The AttachmentPoint enumerated type has the following possible values:
- AcDbMText::kTopLeft
- AcDbMText::kTopCenter
- AcDbMText::kTopRight
- AcDbMText::kMiddleLeft
- AcDbMText::kMiddleCenter
- AcDbMText::kMiddleRight
- AcDbMText::kBottomLeft
- AcDbMText::kBottomCenter
- AcDbMText::kBottomRight