anchorType

Specifies the location of the container’s anchor point when it is placed by using a positioned layout strategy.

Syntax

Reference_Syntax.anchorType = "topLeft | topCenter | topRight | middleLeft | middleCenter | middleRight | bottomLeft | bottomCenter | bottomRight"

Values

Type

Values

String

topLeft (default)

Top left corner of the container.

topCenter 

Center of the top edge of the container.

topRight 

Top right corner of the container.

middleLeft 

Middle of the left edge of the container.

middleCenter 

Middle of the container.

middleRight 

Middle of the right edge of the container.

bottomLeft 

Bottom left corner of the container.

bottomCenter 

Center of the bottom edge of the container.

bottomRight 

Bottom right corner of the container.

Version

XFA 2.1

Examples

JavaScript

TextField1.anchorType = "bottomRight";

FormCalc

TextField1.anchorType = "bottomRight"

// Ethnio survey code removed