Adds the MTEXT entity.
procedure AddMText(const Data: TdxfExportData);
Description
The instance of the TdxfExportData type is a parameter of the AddMText procedure. It contains following fields:
| • | Text – text string | 
| • | Point – coordinates of base point | 
| • | FHeight – font 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)  | 
Note: you can specify text formatting correspondingly to AutoCAD(R). For example the following code lines specify italic, underlined text 'Register on www.cadsofttools.com' line with "Courier New" font:
Data.Text := '{\fCourier New|i1;\LRegister on www.cadsofttools.com}';
Go to CAD VCL Enterprise