API Reference > OdDb Classes > OdDbMText Class > OdDbMText Methods > OdDbMText::attachment Method
OdDbMText::attachment Method
Syntax
C++
AttachmentPoint attachment() const;

Returns the type of the attachment point of this MText entity (DXF 71).

attachment() returns one of the following: 

 

Name 
Value 
kTopLeft 
kTopCenter 
kTopRight 
kMiddleLeft 
kMiddleCenter 
kMiddleRight 
kBottomLeft 
kBottomCenter 
kBottomRight 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.