API Reference > OdDb Classes > OdDbMText Class
OdDbMText Class
OdDbMTextOdDbMTextOdDbMText
Syntax
C++
class OdDbMText : public OdDbEntity;

DbMText.h

 

This class represents paragraph (multi-line) text (MText) entities in an OdDbDatabase instance. 

Corresponding C++ library: TD_Db

Working with Multi-Line Text 

OdDbText, OdDbMline classes

 
Name 
Description 
 
This is OdDbMText, a member of class OdDbMText. 
 
Name 
Description 
 
This is record OdDbMText::AttachmentPoint. 
 
This is record OdDbMText::ColumnType. 
 
This is record OdDbMText::FlowDirection. 
 
Name 
Description 
 
Returns the actual height of this MText entity (depends on contents).
 
 
Returns the width of the bounding box of this MText entity. 
 
Returns the alignment change string "A". 
 
Returns the ascent of this MText entity. 
 
Returns the type of the attachment point of this MText entity (DXF 71). 
 
Returns true if and only if background fill is on of this MText entity (DXF 90, bit 0x01). 
 
Returns the begin block string "{". 
 
Returns the end block string "}". 
 
Returns the color change string "C". 
 
Returns a copy of the character content of this MText entity (DXF 1 & 3). 
 
Converts the fields in this MText entity to text, and removes the fields. 
 
Returns the descent of this MText entity. 
 
Returns the WCS X-axis direction vector of this MText entity (DXF 11). 
 
Reads the .dwg file data of this object.
 
 
This is DWGMAP_DECLARE_MEMBERS, a member of class OdDbMText. 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Explodes this MText entity into a sequence of simple text fragments, passing each fragment to the specified function
 
 
Explodes this entity into a set of simpler entities.
 
 
Returns the flow direction of this MText entity (DXF 72). 
 
Returns the font change string "F". 
 
Returns the WCS actual bounding points of this MText entity.
 
 
Returns the background fill color of this MText entity (DXF 63 and optionally 421 & 431). 
 
Returns the background scale factor of this MText entity (DXF 45). 
 
Returns the background transparency of this MText entity (DXF 441). 
 
Returns the WCS bounding points of this MText entity box.
 
 
Returns the column auto height status of this MText entity. 
 
Returns the column count of this MText entity. 
 
Returns the column flow reverse status of this MText entity. 
 
Returns the column gutter of this MText entity. 
 
Returns the column height of this MText entity.
 
 
Returns the column type of this MText entity. 
 
Returns the column width of this MText entity. 
 
Returns the entity coordinate system matrix. 
 
Returns the paragraph indentation and tab data of this MText entity.  
 
Returns the plane that contains this entity.
 
 
Returns the height of the box of this MText entity. 
 
Returns the height change string "H". 
 
Returns the horizontal mode of this MText entity (used for DXF 71). 
 
Returns true if and only if this entity is planar. 
 
Returns the line break string "p". 
 
Returns the linespacing factor of this MText entity (DXF 44). 
 
Returns the linespacing style of this MText entity (DXF 73). 
 
Returns the insertion point of this MText entity (WCS equivalent of DXF 10). 
 
Returns the non-break space string "~". 
 
Returns the WCS normal to the plane of this entity (DXF 210). 
 
Returns the oblique angle change string "Q". 
 
Returns the overline off string "o". 
 
Returns the overline on string "O". 
 
Returns the paragraph break string "P". 
 
This is the overview for the removeField method overload. 
 
Returns the rotation angle of this MText entity in radians (DXF 50). 
 
Sets the type of the attachment point of this MText entity (DXF 71).  
 
Sets the type of the attachment point of this MText entity (DXF 71).
 
 
Controls the background fill of this MText entity (DXF 90, bit 0x01).  
 
Sets the background fill color of this MText entity (DXF 63 and optionally 421 & 431).  
 
Sets the background scale factor of this MText entity (DXF 45).
 
 
Sets the background transparency of this MText entity (DXF 441).  
 
Switches the column auto height status of this MText entity.
 
 
Sets the column count of this MText entity.
 
 
Switches the column flow reverse status of this MText entity.
 
 
Sets the column gutter of this MText entity.
 
 
Sets the column height of this MText entity.
 
 
Sets the column type of this MText entity.
 
 
Sets the column width of this MText entity.
 
 
Sets the character content of this MText entity (DXF 1 & 3).
 
 
Sets the character content of this MText entity (DXF 1 & 3) from the RTF-encoded text string.
 
 
Sets the WCS X-axis direction vector of this MText entity (DXF 11).
 
 
This is setDynamicColumns, a member of class OdDbMText. 
 
Adds the specified field to the field dictionary of this object.
 
 
Sets the flow direction of this MText entity (DXF 72).
 
 
Sets the height of the box of this MText entity.
 
 
Sets the horizontal mode of this MText entity (used for DXF 71).
 
 
Sets the linespacing factor of this MText entity (DXF 44).
 
 
Sets the linespacing style of this MText entity (DXF 73).
 
 
Sets the insertion point of this MText entity (WCS equivalent of DXF 10).
 
 
Sets the WCS normal to the plane of this entity (DXF 210).
 
 
Sets the rotation angle of this MText entity in radians (DXF 50).
 
 
Sets the flag controlling mtext border's visibility.
 
 
This is setStaticColumns, a member of class OdDbMText. 
 
Sets the text height of this MText entity (DXF 40).
 
 
Sets the Object ID of the text style of this MText entity (DXF 7).
 
 
Controls the use of the screen background color as the background color of this MText entity (DXF 90, bit 0x02).
 
 
Sets the vertical mode of this MText entity (used for DXF 71).
 
 
Sets the word-wrap width of this MText entity (DXF 41).
 
 
Gets the flag controlling mtext border's visibility. 
 
Returns the stacked text start string "S". 
 
Returns the strike through off string "k". 
 
Returns the strike through on string "K". 
 
Called as the first operation as this object is being closed, for database -resident objects only. 
 
This is subExplode, a member of class OdDbMText. 
 
overridables 
 
This is subGetGeomExtents, a member of class OdDbMText. 
 
This is subGetTransformedCopy, a member of class OdDbMText. 
 
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits.
 
 
This function is an override for OdDbEntity::subSetDatabaseDefaults() to set the dimension style of this entity to the current style for the specified database. 
 
This is subTransformBy, a member of class OdDbMText. 
 
This is subViewportDraw, a member of class OdDbMText. 
 
This is subWorldDraw, a member of class OdDbMText. 
 
text 
Gets contents without formate codes. 
 
Returns the text height of this MText entity (DXF 40). 
 
Returns the Object ID of the text style of this MText entity (DXF 7). 
 
Returns the track change string "T". 
 
Returns the underline off string "l". 
 
Returns the underline on string "L". 
 
Returns true if and only if the screen background color is used as the/ background color/ of this MText entity (DXF 90, bit 0x02). 
 
Returns the vertical mode of this MText entity (used for DXF 71). 
 
Returns the word-wrap width of this MText entity (DXF 41). 
 
Returns the width change string "W". 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.