Text Object Script Properties

Get and Set properties are:

Property Name

Data Type

Description

TextValue

String

The text value that will be used by the object to show the text.

LineColor

Long

Bounding rectangle outline color.

FillColor

Long

Bounding rectangle fill color, this color is the background color of the text value.

FillRectangle

Bool

Fill the text object rectangle or not, if a set is done for FillColor property then this property is set true.

BackGroundColor

Long

Bounding rectangle outline background color, this color is visible only when appropriate line style is selected

LineWidth

Short

Bounding rectangle outline width (0 – 50)

LineStyle

Short

Bounding rectangle outline style (0 – 5)

Bold

Bool

If set to TRUE, the text will be printed in BOLD.

FontName

String

The font to be used can be set using this property.

Italic

Bool

Using the font in Italic format for the text value

Strikeout

Bool

Using the font in strikeout format for the text value

Underline

Bool

Using the font in underline format for the text value

Wraptext

Bool

Wrapping the text at word level is the text value is not fitting in the bounding rectangle

FontSize

Short

Using the font size for the text value (1 – 254)

Justify

Byte

Text value justify inside the bounding rectangle (0 – 8)

TextColor

Long

Text Font Color

FillRectangle

Bool

Fills the background rectangle

ReverseFont

None

Swaps the TextColor and BackgroundColor and sets the FillRectangle as True

More information

Option 5.3.4. Use a script for a text object data source.