ElementLocation Object

Use the ElementLocation object to obtain information from element location.

Click a method to see more information on its use, syntax, and parameters:

ElementType Property

Used to get the type of the element.

Syntax

object.ElementType

Part Description
object An element location object

Remarks

Use the ElementType property to get the type of a element. The enumeration values for AppConnElementType are defined in the Type Library.
Element Type
Attribute
Field
Pattern
RecordSet

LeftColumn Property

Used to get the location of the left column of the element.

Syntax

object.LeftColumn

Part Description
object An element location object

Remarks

Use the LeftColumn property to get the location of the left column of an element that is defined as a rectangular region. If the element is defined as a linear region the value will be -1.

Length Property

Used to get the length of the element.

Syntax

object.Length

Part Description
object An element location object

Remarks

Use the Length property to get the length for an element that is defined as a linear region. If the element is defined as a rectangular region the value will be -1.

Name Property

Used to get the name of the element.

Syntax

object.Name

Part Description
object An element location object

Remarks

Use the Name property to get the name of an element.

NumColumns Property

Used to get the number of columns of the element.

Syntax

object.NumColumns

Part Description
object An element location object

Remarks

Use the NumColumns property to get the number of columns for an element that is defined as a rectangular region. If the element is defined as a linear region the value will be -1.

NumRows Property

Used to get the number of rows for the element.

Syntax

object.NumRows

Part Description
object An element location object

Remarks

Use the NumRows property to get the number of rows for an element that is defined as a rectangular region. If the element is defined as a linear region the value will be -1.

Offset Property

Used to get the offset of the element.

Syntax

object.Offset

Part Description
object An element location object

Remarks

Use the Offset property to get the offset for an element that is defined as a linear region. If the element is defined as a rectangular region the value will be -1.

RegionType Property

Used to get the type of region for the element.

Syntax

object.RegionType

Part Description
object An element location object

Remarks

Use the RegionType property to get the type of region. The enumeration values for AppConnRegionType are defined in the Type Library.

Region Type
Linear
Rectangular

TopRow Property

Used to get the location of the top row flag of the element.

Syntax

object.TopRow

Part Description
object An element location object

Remarks

Use the TopRow property to get the location of the top row of an element that is defined as a rectangular region. If the element is defined as a linear region the value will be -1.