API Reference > OdDb Classes > OdDbMLeaderStyle Class
OdDbMLeaderStyle Class
OdDbMLeaderStyleOdDbMLeaderStyle
Syntax
C++
class OdDbMLeaderStyle : public OdDbObject;

DbMLeaderStyle.h

This class represents MLeader Style objects in an OdDbDatabase instance.

TD_Db 

OdDbMLeaderStyle objects are stored in the ACAD_MLEADERSTYLE dictionary in the Named Object Dictionary of an OdDbDatabase.

 
Name 
Description 
 
This is OdDbMLeaderStyle, a member of class OdDbMLeaderStyle. 
 
Name 
Description 
 
Enumeration for the block connection type of MLeader block content. 
 
Enumeration for the content type of an MLeader. 
 
Enumeration for MLeader Line draw order type. 
 
Enumeration for the draw order type of an MLeader. 
 
Enumeration for the direction type of an MLeader. 
 
Enumeration for the leader type of MLeader. 
 
Enumeration for the segment angle type of an MLeader. 
 
Enumeration for MLeader text alignment type. 
 
Enumeration for the text angle type of MLeader text. 
 
Enumeration for the text attachment direction of MLeader text. 
 
Enumeration for the text attachment type of MLeader text. 
 
Name 
Description 
 
Returns the alignment space value for this OdDbMLeaderStyle. 
 
Returns the annotative flag for this OdDbMLeaderStyle. 
 
Returns the arrow size for this OdDbMLeaderStyle. 
 
Returns the arrow symbol for this OdDbMLeaderStyle as an OdDbObjectId. 
 
Returns the set of bit flags this OdDbMLeaderStyle. 
 
Returns the color for block content associated with this OdDbMLeaderStyle. 
 
Returns the connection type for the associated block. 
 
Returns the OdDbObjectId of the block associated with this OdDbMLeaderStyle. 
 
Returns the rotation value for the block referenced by this OdDbMLeaderStyle. 
 
Returns the scale for the block associated with this by OdDbMLeaderStyle. 
 
Returns the gap used in the process of breaking leader lines. 
 
Returns the content type for this OdDbMLeaderStyle. 
 
Sets the default text used in an associated MText balloon. 
 
Returns the description of this OdDbMLeaderStyle. 
 
Returns the "dog leg" leader line length for this OdDbMLeaderStyle. 
 
Returns the leader line draw order for OdDbMLeader objects using this OdDbMLeaderStyle. 
 
Returns the draw order for the content of OdDbMLeader objects using this OdDbMLeaderStyle. 
 
Reads the .dwg file data of this object.
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns true if block rotation (set by setBlockRotation) is to be used, false otherwise. 
 
Returns true if block scale (set by setBlockScale) is to be used, false otherwise. 
 
Returns the "dog leg" flag for this OdDbMLeaderStyle, which controls dog leg leader lines. 
 
Returns true if a frame is to be displayed around associated text, false otherwise. 
 
Returns leader line landing for this OdDbMLeaderStyle. 
 
Returns horizontal mleader lines extend to text mode. 
 
Returns the constraint angle for the first segment (used for creating OdDbMLeader objects). 
 
Returns the name of this OdDbMLeaderStyle. 
 
Returns the gap between the leader line tail and the MText associated with the OdDbMLeader. 
 
Returns the leader line color for this OdDbMLeaderStyle. 
 
Returns the leader line type for this OdDbMLeaderStyle. 
 
Returns the leader line linetype for this OdDbMLeaderStyle. 
 
Returns the leader line lineweight for this OdDbMLeaderStyle. 
 
Returns the maximun number of segment points used for leader lines. 
 
This is ODDB_DECLARE_MEMBERS, a member of class OdDbMLeaderStyle. 
 
Returns true if properties were modified, false otherwise. 
 
Add this OdDbMLeaderStyle to the specified OdDbDatabase object.
 
 
Returns the scale factor for this OdDbMLeaderStyle. 
 
Sets the constraint angle for the second segment (used for creating OdDbMLeader objects). 
 
Sets the alignment space value for this OdDbMLeaderStyle.
 
 
Sets the annotative flag for this OdDbMLeaderStyle.
 
 
Sets the arrow size for this OdDbMLeaderStyle.
 
 
This is the overview for the setArrowSymbolId method overload. 
 
Sets the bit flags for this OdDbMLeaderStyle.
 
 
Sets the color for block content associated with this OdDbMLeaderStyle.
 
 
Sets the connection type for the associated block.
 
 
This is the overview for the setBlockId method overload. 
 
Sets the rotation value for the block referenced by this OdDbMLeaderStyle.
 
 
Sets the scale for the block associated with this by OdDbMLeaderStyle.
 
 
Sets the gap used in the process of breaking leader lines.
 
 
Sets the content type for this OdDbMLeaderStyle.
 
 
This is setDatabaseDefaults, a member of class OdDbMLeaderStyle. 
 
Sets the default text used in an associated MText balloon.
 
 
Sets the description of this OdDbMLeaderStyle.
 
 
Sets the "dog leg" leader line length for this OdDbMLeaderStyle.
 
 
Sets the leader line draw order for OdDbMLeader objects using this OdDbMLeaderStyle.
 
 
Sets the draw order for the content of OdDbMLeader objects using this OdDbMLeaderStyle.
 
 
Enables/disables usage of the rotation value set by setBlockRotation().
 
 
Enables/disables usage of the scale value set by setBlockScale().
 
 
Sets the "dog leg" flag for this OdDbMLeaderStyle, which controls dog leg leader lines.
 
 
Sets the display/hide property for the frame around associated text.
 
 
Sets the leader line landing for this OdDbMLeaderStyle.
 
 
Sets horizontal mleader lines extend to text mode.
 
 
Sets the constraint angle for the first segment (used for creating OdDbMLeader objects).
 
 
Sets the gap between the leader line tail and the MText associated with the OdDbMLeader.
 
 
Set the leader line color for this OdDbMLeaderStyle.
 
 
Sets the leader line type for this OdDbMLeaderStyle.
 
 
Sets the leader line linetype for this OdDbMLeaderStyle.
 
 
Sets the leader line lineweight for this OdDbMLeaderStyle.
 
 
Sets the maximun number of segment points used for leader lines.
 
 
Sets the name of this OdDbMLeaderStyle.
 
 
Sets the scale factor for this OdDbMLeaderStyle.
 
 
Sets the constraint angle for the second segment (used for creating OdDbMLeader objects).
 
 
Sets the "always create left aligned text" property for this OdDbMLeaderStyle.
 
 
Sets the text alignment type for this OdDbMLeaderStyle.
 
 
Sets the text angle type for this OdDbMLeaderStyle.
 
 
This is setTextAttachmentDirection, a member of class OdDbMLeaderStyle. 
 
Sets the text attachment type for this OdDbMLeaderStyle.
 
 
Sets the text color for this OdDbMLeaderStyle.
 
 
Sets the text height for the associated OdDbMText object.
 
 
Sets the text style for this OdDbMLeaderStyle by OdDbObjectId.
 
 
Called as the first operation as this object is being closed, for database -resident objects only. 
 
overridables 
 
Returns the "always create left aligned text" property for this OdDbMLeaderStyle. 
 
Returns the text alignment type for this OdDbMLeaderStyle. 
 
Returns the text angle type for this OdDbMLeaderStyle. 
 
Returns the text attachment direction of MText. 
 
Returns the text attachment type for this OdDbMLeaderStyle.
 
 
Returns the text color for this OdDbMLeaderStyle. 
 
Returns the text height for the associated OdDbMText object. 
 
Returns the text style OdDbObjectId for this OdDbMLeaderStyle. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.