API Reference > OdDb Classes > OdDbMLeaderStyle Class > OdDbMLeaderStyle Enumerations > OdDbMLeaderStyle::TextAttachmentType Enumeration
OdDbMLeaderStyle::TextAttachmentType Enumeration
Syntax
C++
enum TextAttachmentType { kAttachmentTopOfTop = 0, kAttachmentMiddleOfTop = 1, kAttachmentMiddle = 2, kAttachmentMiddleOfBottom = 3, kAttachmentBottomOfBottom = 4, kAttachmentBottomLine = 5, kAttachmentBottomOfTopLine = 6, kAttachmentBottomOfTop = 7, kAttachmentAllLine = 8, kAttachmentCenter = 9, kAttachmentLinedCenter = 10 };

DbMLeaderStyle.h

Members 
Description 
kAttachmentTopOfTop = 0 
Use the top of the top text line as the attachment point. 
kAttachmentMiddleOfTop = 1 
Use the middle of the top text line as the attachment point. 
kAttachmentMiddle = 2 
Use the middle of the text as the attachment point. 
kAttachmentMiddleOfBottom = 3 
Use the middle of the bottom text line as the attachment point. 
kAttachmentBottomOfBottom = 4 
Use the bottom of the bottom text line as the attachment point. 
kAttachmentBottomLine = 5 
Use the bottom of bottom text line as the attachment point. Underline the bottom line. 
kAttachmentBottomOfTopLine = 6 
Use the bottom of the top text line as the attachment point. Underline the top line. 
kAttachmentBottomOfTop = 7 
Use the bottom of the top text line as the attachment point. 
kAttachmentAllLine = 8 
Use the bottom of the top text line as the attachment point, and underline all content. 
kAttachmentCenter = 9 
Use the center of the mtext as the attachment point for vertical attachment. 
kAttachmentLinedCenter = 10 
Use the center of the mtext as the attachment point for vertical attachment, and overline/underline all content. 

Enumeration for the text attachment type of MLeader text.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.