TsgDXFExport.AddText

TsgDXFExport

  Classes Reference > Writing to file > TsgDXFExport > TsgDXFExport Methods >

TsgDXFExport.AddText

TsgDXFExport

Previous pageReturn to chapter overviewNext page

Adds the TEXT entity.

procedure AddText(const Data: TdxfExportData);

Description

The instance of the TdxfExportData type is a parameter of the AddText procedure. It contains following fields:

Text – text string.
Point – coordinates of base point.
FHeight – font height.
FScale – ratio of character width to height.
Rotation – rotation angle in degrees.
HAlign - horizontal text justification type:

Value:

Meaning:

0

Left

1

Center

2

Right

3

Aligned (if vertical alignment = 0)

4

Middle (if vertical alignment = 0)

5

Fit (if vertical alignment = 0)

VAlign - vertical text justification type:

Value:

Meaning:

0

Baseline

1

Bottom

2

Middle

3

Top

 

Go to CAD VCL Enterprise