Position (ViewColumn - Java)

Read-only. The position of a column in its view. Columns are numbered from left to right, starting with 1.

Defined in

ViewColumn

Data type

int

Syntax

public int getPosition()
    throws NotesException

Usage

The Columns property in View returns a vector of ViewColumn objects. The vector is zero-based, so the first element in the vector is element 0 and contains the ViewColumn at position 1. The second element in the vector is element 1 and contains the ViewColumn at position 2, and so on. Remember to add one to the vector index to get the correct position value.

Example