TdxfExportData

  Classes Reference > Records, types etc. >

TdxfExportData

Previous pageReturn to chapter overviewNext page

Unit

DXFExport

Syntax

type

  TdxfExportData = packed record

    Tag: Word;           

    Count: Word;      

    Flags: Byte;      

    Style: Byte;      

    SelfType: Byte;   

    Color: LongWord;    

    StyleObject: Pointer;   

    Thickness: Single;    

    Rotation: Single;   

    GlobalWidth: Single;   

    Text: string;      

    Point: TexpPoint;   

    Point1: TexpPoint;   

    Point2: TexpPoint;   

    Point3: TexpPoint;   

    case Integer of

    0: (Radius, StartAngle, EndAngle: Single);   

    1: (Block: THandle; Scale: TexpPoint);      

    2: (HAlign,VAlign: Byte; RWidth, RHeight, FHeight, FScale: Single);   

    3: (Points: TList);            

    4: (Bold, Italic: Byte; FName: PChar);

    5: (PolyPoints: TList);      

  end;

Description

Contains information about any DXF entity.

Members

Tag

Specifies the type of DXF entity. It is used for internal needs only.

Count

Specifies the number of child entities (for BLOCK, POLYLINE etc). For simple entities such as LINE it is always 0.

Flags

Specfies the flags byte for different entities, such as LAYER, BLOCK, POLYLINE etc. Has individual meaning for each entity type. For details see AutoCAD DXF Reference.

Style

Specfies the pen style for drawing this entity:

Value                                        Meaning

PS_SOLID                                Pen is solid.

PS_DASH                                Pen is dashed.

PS_DOT                                Pen is dotted.

PS_DASHDOT                                Pen has alternating dashes and dots.

PS_DASHDOTDOT                        Pen has dashes and double dots.

SelfType

Specifies the boundary type for closed entities.

Color

Specifies color value for this entity.  

StyleObject

Specifies a pointer for style object.

Thickness

Specifies the line width for this entity.

Rotation

Specifies the rotation angle in degrees for TEXT or INSERT.

GlobalWidth

Specifies the global width for LWPOLYLINE.

Text

Points to null-terminated string specifying the text value for text entities (TEXT and MTEXT).

Point

Specifies the reference point for this entity. For details see AutoCAD DXF Reference, group codes 10,20,30.

Point1

Specifies the second reference point for entities such as LINE, TEXT or ELLIPSE. For details see AutoCAD DXF Reference, group codes 11,21,31.

Point2, Point3

Specifies the third and fourth points for SOLID.

Radius

Specifies the radius value for CIRCLE and ARC or ratio of minor axis to major axis for ELLIPSE.

StartAngle, EndAngle

Specify the angle values in degrees for ARC and ELLIPSE.

Block

Specifies the block handle for INSERT.

Scale

Specifies the X-, Y- and Z-scale values for INSERT.

FHeight

Specifies the character height for text entities (TEXT and MTEXT).

FScale

Specifies the relative X scale factor (ratio of character width to character height) for text entities.

RWidth

Specifies the reference retangle width for MTEXT.

RHeight

Specifies the reference retangle height for MTEXT.

HAlign

Specifies the horizontal alignment for text entities:

0 = Left;1= Center; 2 = Right.

VAlign

Specifies the vertical alignment for text entities:

0 = Baseline; 1 = Bottom; 2 = Middle; 3 = Top.

Points

Points to array of DexpPOINT for POLYLINE, LWPOLYLINE and HATCH. The number of points is specified by Count.

 

 

 

Go to CAD VCL Enterprise