WorksheetIndex Property
The index of the current worksheet in a Google Worksheet feed.
Object Oriented Interface
public function getWorksheetIndex(); public function setWorksheetIndex($value);
Procedural Interface
ingoogle_gspreadsheets_get($res, 99 ); ingoogle_gspreadsheets_set($res, 99, $value );
Default Value
-1
Remarks
This property is used to specify a worksheet within a retrieved Google Worksheet feed. Once set, the following properties will be populated:
- WorksheetDateUpdated
- WorksheetETag
- WorksheetTitle
- WorksheetProperties
This property takes index values from 0 to WorksheetCount-1.
Setting WorksheetIndex to -1 will clear the entries contained by the component and will also reset all the worksheet related properties (listed above).
This property is not available at design time.
Data Type
Integer