powered by CADENAS

Manual

Manual

8.4.4.7. [ELEMENT_text] Text

Places a text into the sketch view.

Text

Text

The "Text" element is declared with "ELEMENT_" followed by a unique identification for the element.

Example:

[ELEMENT_text1]

The following attributes are available:

  • type = text

    Declares element type and is mandatory.

  • parent

    Texts are obligatorily placed in a frame element.

  • text

    The text is indicated here.

    Variables (e.g. $NT.) are allowed.

  • text_size

    Indicates text size. Minimum font size is '1'.

  • width_factor

    Indicates stretch factor of width for text. Minimum possible value is '0.5'.

  • sizeable

    Indicates whether size/position of text element may be changed in Edit mode.

    Possible values are "true" or "false".

  • Translatable

    Indicates, whether the text indicated under "text", should be translated.

    Here, a *.def file must be indicated, in which the translation for the texts are entered. Compare also Section 8.4.4.11, “Translations ”.

    The def file must be entered in the frame element. Compare Section 8.4.4.9, “[ELEMENT_frame] Combine more elements in frame ”.

    Information on the use of Attribute algorithms is found under Section 11.5.2.7.1, “Translation functions”.

The following attributes MUST be assigned:

  • position_x: indicates x coordinates of left top point of text box.

  • position_y: indicates y coordinates of left top point of text box.

  • position_w: indicates width of box.

  • position_h: indicates height of box.

Example:

[ELEMENT_text1]
type=text 
parent=frame 
position_x=200.00 
position_y=200.30 
position_w=60.00
position_h=15.00
text=Normtext: $NT. 
text_size=3 
width_factor=0.5 
sizeable=false 
translateable=true

[ELEMENT_text1] type=text parent=frame position_x=226.31 position_y=60.98 position_w=51.22 position_h=5.05 text=(area of use) text_size=2 width_factor=0.5 sizeable=false translateable=true

use_ratio=true
text_align=left
rotation=horizontal