Share

AcDbText::AcDbText

C++

AcDbText(
    const AcGePoint3d& position, 
    const ACHAR* text, 
    AcDbObjectId style = AcDbObjectId::kNull, 
    double height = 0, 
    double rotation = 0
);

Description

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.

Parameters

Parameters Description
position Input insertion point for the text
text Input text string to be used as displayed text.
style Input object ID of the AcDbTextStyleTableRecord to use
height Input height of the shape
rotation Input rotation angle (in radians) for the text about its OCS Z axis

Links

AcDbText

Was this information helpful?