Attribute definition Home

Block attribute definition is a text string which can have different contents in each block reference.

To add an attribute definition into a block use the following function:

Function Meaning
lcBlockAddAttDef Adds an attribute definition into a block

Attribute definition has properties and functions derived from base class and the following specific properties:

Property Type Access Meaning
LC_PROP_ENT_...    Base class properties
LC_PROP_ATT_MODE int RW Mode
LC_PROP_ATT_TSTYLE handle
string
RW Handle to Text style
Name of Text style
LC_PROP_ATT_TAG string RW Tag
LC_PROP_ATT_PROMPT string RW Prompt
LC_PROP_ATT_VALUE string RW Value
LC_PROP_ATT_ALIGN int RW Alignment type
LC_PROP_ATT_X float RW Insertion point X
LC_PROP_ATT_Y float RW Insertion point Y
LC_PROP_ATT_H float RW Text height
LC_PROP_ATT_WSCALE float RW Width factor (horisontal scale)
LC_PROP_ATT_ANGLE float RW Rotation angle
LC_PROP_ATT_OBLIQUE float RW Oblique angle
LC_PROP_ATT_X0 float R X coordinate of left-bottom corner
LC_PROP_ATT_Y0 float R Y coordinate of left-bottom corner
LC_PROP_ATT_XFIT float RW X coordinate of end point for alignment LC_TA_ALIGNED or LC_TA_FIT
LC_PROP_ATT_YFIT float RW Y coordinate of end point for alignment LC_TA_ALIGNED or LC_TA_FIT
LC_PROP_ATT_UPDOWN bool RW "Upside-down text" flag
LC_PROP_ATT_BACKWARD bool RW "Backward text" flag
LC_PROP_ATT_INVIS bool RW Mode: invisible attribute
LC_PROP_ATT_LOCKPOS bool RW Mode: locked position
LC_PROP_ATT_MTEXT bool RW Mode: multiline text

See also

  Code sample