API Reference > OdDg Classes > OdDgText3d Class
OdDgText3d Class
OdDgText3dOdDgText3dOdDgText3dOdDgText3dOdDgText3dOdDgText3d
Syntax
C++
class OdDgText3d : public OdDgGraphicsElement, public OdDgTextExtended;

DgText.h

Corresponding C++ library: TG_Db 

 

 
Name 
Description 
 
 
 
Applies TextStyle settings to Text element. Attention: it should be called only after adding element to model 
 
 
 
Copies the contents of the specified object into this object when possible.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Operate with color indices. See OdDg::ColorIndexConstants for some special values. See OdDgColorTable for the methods to translate indices to RGB values and back 
 
the number of CR which should be added after the text element 
 
 
 
for text node feature support 
 
MKU 06/19/07 
 
 
 
 
 
Text can be 'italics' even if it has 0 slant (for instance, TrueType font). So this method sets 'italics' flag in case of true; and resets 'italics' flag and 'slant' in case of false. 
 
 
 
The "length" and "height" members of Text elements are not used by MicroStation v8. They could be set to display text elements a distance from the origin for the x and y of the text-aligned box 
 
The Length and Height multipliers are used to display Text element. 
 
 
 
 
 
get/set origin value which text element is to be placed with left-bottom (default) justification without taking into account other text properties as height, width, direction, font and etc... 
 
 
 
 
 
 
 
 
 
 
 
get/set text position as a result of calculation text properties as origin, actual justification, height, width, direction, font and etc... Call it when an element has been already added to database. Only in this case it is possible to get complete data (for instance, text font data) to calculate right geometry extents. 
 
3d-specific methods 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
the text 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
for DG 2.6.3
enum Spacing { sNone = 0 , sInterCharSpacing = 1 , sFixedWidthSpacing = 2 , sAcadInterCharSpacing = 3 }; 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This is the overview for the subGetGeomExtents method overload. 
 
overrides from OdDgElement 
 
Called by setDatabaseDefaults() after the values are set.
 
 
 
 
 
 
overrides for OdGiDrawable 
 
This is the overview for the TEXT_FLAGS_DEF method overload. 
 
This is the overview for the TEXTSTYLE_OVERRIDE_FLAGS_DEF method overload. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.