Label Parameters

LABEL_POSITION position of the label
array[3][2] containing the coordinates of the 3 points defining the label position
LABEL_ASSOC_ELEM_ORIENTATION orientation of the associated element
  • straight elements: the direction of the reference line
  • curved elements: the direction of the chord of the arc
  • point-like elements: the rotation angle of the element
LABEL_CUSTOM_ARROW use symbol arrow option on/off
0 if the Use symbol arrow checkbox is checked, 1 otherwise
LABEL_ARROW_LINETYPE line type of the line of the arrow
LABEL_ARROW_PEN pen of the arrow
LABEL_ARROWHEAD_PEN pen of the arrowhead
LABEL_FONT_NAME font name
LABEL_TEXT_SIZE text size
LABEL_TEXT_PEN pen of the text
LABEL_TEXT_BG_PEN text box background pen
0 if opaque is off, the background pen otherwise
LABEL_FONT_STYLE font style
0-normal, 1-bold, 2-italic, 4- underline
LABEL_FONT_STYLE2 font style in the settings dialog box
0 – normal, otherwise j1 + 2*j2 + 4*j3 + 32*j6 + 64*j7 + 128*j8, j1 – bold, j2 – italic, j3 – underline, j6 – superscript,
j7 – subscript, j8 – strikethrough
LABEL_FRAME_ON label frame on/off
1 if the label frame is checked, 0 otherwise
LABEL_FRAME_OFFSET frame offset
LABEL_ANCHOR_POS label anchor position
0 – middle, 1 – top, 2 – bottom left, 3 – bottom right
LABEL_ROTANGLE rotation angle
LABEL_ALWAYS_READABLE label text is always readable
1 if Always Readable is checked, 0 otherwise
LABEL_TEXT_WRAP wrap label text
1 if Wrap Text is checked, 0 otherwise
LABEL_TEXT_ALIGN text alignment
1 – left aligned, 2 – center aligned, 3 – right aligned, 4 – full justified
LABEL_TEXT_LEADING line spacing factor
LABEL_TEXT_WIDTH_FACT width factor
LABEL_TEXT_CHARSPACE_FACT spacing factor