Field Object Attributes

 

Attribute

Description

Type

Values

Default Value

Text

String of text contained in object.

String

 

Null

TextColor

Color for drawing text.

Color

000000 to FFFFFF

BLACK (000000)

TextFont

Font name and style for drawing text.

Font

String in the form of: FontName,FontSize, Weight, Italic,Underline

Null

BackColor

Color for filling the background of Text object.

Color

000000 to FFFFFF

TRANSPARENT (-1)

HorzAlign

Horizontal text alignment.

enum IacHorzAlign

1: acHorzAlignLeft

2: acHorzAlignCenter

3: acHorzAlignRight

4: acHorzJustify

1: acHorzAlignLeft

VertAlign

Vertical text alignment.

enum IacVertAlign

1: acVertAlignTop

2: acVertAlignCenter

3: acVertAlignBottom

1: acVertAlignTop

TextGap

Gap between text and borders.

enum IacTextGap

 Units are in points or 12th of an inch.

0: acTextGapNone

1: acTextGapThin

2: acTextGapMedium

3: acTextGapThick

0: acTextGapNone

BorderColor

Color for drawing text border.

Color

000000 to FFFFFF

BLACK (000000)

BorderWidth

Width of border around text.

enum IacBorderWidth

 Units are in points or 12th of an inch.

0: acBorderWidthNone

1: acBorderWidthSimple

2: acBorderWidthDouble

3: acBorderWidthTriple

4: acBorderWidthQuadruple

0: acBorderWidthNone

Visible

Field is visible when document is printed.

Boolean

True / False

True

Editable

Field can be modified by user when the document is compiled or saved in view only mode

Boolean

True / False

True

Password

The field is used to enter passwords, the text is replaced with.

Boolean

True / False

False

DataType

Type of data expected in the field object.

enum IacDataType

0: acDataTypeUnknown

1: acDataTypeText

2: acDataTypeNumerical

3: acDataTypeDate

0: acDataTypeUnknown

Format

Mask used to format the data contained in the field.

Text

The formats for each data type are similar to what is provided by Microsoft Excel®

Null

Value

Result of compiling the formula contained in the Text property.

Text

When a document is compiled, the content of the Text property is evaluated and the value stored in Value. This is the value displayed to the user when the document is in compiled or view-only mode.

Null

Result

It is the final value that the user sees after applying any formatting.

String

 

Null

Single Line

When set to true, the text will always appear on one line and not wrapped to more than a line.

Boolean

True/False

False

TextAngle

Angle at which to draw the text.

Integer

True/False

0

MaxLen

Max characters.

Integer

Degrees / 10, so for a 45 degree angle, the value should be 450.

0

TextClipping

Clips the text at the field boundaries.

Boolean

True/False

False