columns method

This method returns a Range object that represents all columns or it returns one column by index.

Defined in

Sheet

Syntax

public Range columns()
public Range columns(int index) throws SymphonyException

Parameters

int index

Specifies the column index in the sheet, starting at 1.If the column index is out of bounds, this method throws an exception.

Return Value

range

  • columns() return a Range object represents the whole sheet.
  • columns( int index ) return a Range object represents a row.

See examples

Example: columns method