Microsoft SDK for Java

DhCell.getColumnNumber

Retrieves the column number that this cell is in.

Syntax

public int getColumnNumber()

Return Value

Returns the cell's column number, or returns -1 if the cell is not in a table.

Remarks

Because tables can have rows with differing numbers of columns (cells), the number returned reflects the column position in the row containing this cell.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.