AcDbText( const AcGePoint3d& position, const ACHAR* text, AcDbObjectId style = AcDbObjectId::kNull, double height = 0, double rotation = 0 );
|
Parameters |
Description |
|
const AcGePoint3d& position |
Input insertion point for the text |
|
const ACHAR* text |
Input text string to be used as displayed text. |
|
AcDbObjectId style = AcDbObjectId::kNull |
Input object ID of the AcDbTextStyleTableRecord to use |
|
double height = 0 |
Input height of the shape |
|
double rotation = 0 |
Input rotation angle (in radians) for the text about its OCS Z axis |
This constructor initializes the text entity with insertionPoint, text, style, height, and rotation as passed in. In addition, the alignment point is initialized to (0,0,0), the obliquing angle to 0.0, the width factor to 1.0, mirroring to Adesk::kFalse, horizontal mode to AcDb::kTextLeft, vertical mode to AcDb::kTextBase, the normal vector to (0,0,1), and the thickness to 0.0.