Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

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.