AddText
Description
This method adds the TEXT entity.
| Parameter | Type | Description |
|---|---|---|
Data | TdxfExportData | It contains the fields: Text – text string; Point – coordinates of base point; FHeight – font height; Rotation – rotation angle in degrees; HAlign – horizontal text justification type. VAlign – vertical text justification type. |
| HAlign value | Description |
|---|---|
| 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 value | Description |
|---|---|
| 0 | Baseline |
| 1 | Bottom |
| 2 | Middle |
| 3 | Top |
Syntax
procedure AddText(const Data: TdxfExportData);