NOTE: every entity must have unique Name!


Syntax:


<entity Type="Text" Name="[String]" Hatchdist="[double]" Text="[String]" Pen="[int]" XPos="[double]" HatchStyle="[int]" YPos="[double]" Font="[String]" CharSize="[double]" Origin="[String]" MarkContour="[boolean]" MarkHatch="[boolean]" Spacing="[double]" HatchBeam="[double]" Rotation="[int]" TextAlign="[int]" MarkLoop ="[int]" />



Parameters:

Name

Mandatory

Description

Format

Standard value

Name

Yes

The name of the entity, used also for data updating, must be unique

String

---------------------

XPos

Yes

X position in mm

Double

---------------------

YPos

Yes

Y position in mm

Double

---------------------

Text

Yes

Text to be engraved

String

---------------------

Pen

Yes

Laser pen assigned

Integer

---------------------

Font

No

Font used. Be sure it is in the font installed in the system.

String

Arial

Origin

No

Point which refers the coordinates inserted.

String

BL

CharSize

No

Char size in mm

Integer

10

MarkContour

No

Specify the contour marking or not. Refers to Interface part of this guide.

Boolean

true

MarkHatch

No

Specify the hatch marking or not. Refers to Interface part of this guide.

Boolean

true

Spacing

No

Set the spacing of the string. Values from 0.01 to 2.50

Double

1

HatchDist

No

Set the distance between hatch lines. Refers to Interface part of this guide.

Double

0.07

HatchBeam

No

Set the laser beam compensation. Refers to Interface part of this guide.

Double

-0.02

HatchStyle

No

Set the hatch style.

Integer

1

Rotation

No

Set the rotation of the text in degree.

Integer

0

TextAlign

No

Set the text alignment

Integer

0

MarkLoop

No

Set the number of mark loops.

Integer

1



Origin Parameter Options:


TL

Top Left

TR

Top Right

BL

Bottom Left

BR

Bottom Right



Hatch style Parameter Options:


1

Wavy line without marking the jumps

2

Horizontal left to right without marking the jumps

3

Horizontal right to left without marking the jumps

4

Rotational, applies only to rectangle, ellipse and triangle structures in the current version

5

Wavy line including the jumps

6

Zigzag



Text Align Parameter Options:


0

Text left aligned

1

Text center aligned

2

Text right aligned