sheets  v4
Properties | List of all members
Google.Apis.Sheets.v4.Data.GridRange Class Reference

A range on a sheet. All indexes are zero-based. Indexes are half open, e.g the start index is inclusive and the end index is exclusive – [start_index, end_index). Missing indexes indicate the range is unbounded on that side. More...

Inheritance diagram for Google.Apis.Sheets.v4.Data.GridRange:
Google::Apis::Requests::IDirectResponseSchema

Properties

virtual System.Nullable< int > EndColumnIndex [get, set]
 The end column (exclusive) of the range, or not set if unbounded. More...
 
virtual System.Nullable< int > EndRowIndex [get, set]
 The end row (exclusive) of the range, or not set if unbounded. More...
 
virtual System.Nullable< int > SheetId [get, set]
 The sheet this range is on. More...
 
virtual System.Nullable< int > StartColumnIndex [get, set]
 The start column (inclusive) of the range, or not set if unbounded. More...
 
virtual System.Nullable< int > StartRowIndex [get, set]
 The start row (inclusive) of the range, or not set if unbounded. More...
 
virtual string ETag [get, set]
 The ETag of the item. More...
 
- Properties inherited from Google::Apis::Requests::IDirectResponseSchema
string ETag
 

Detailed Description

A range on a sheet. All indexes are zero-based. Indexes are half open, e.g the start index is inclusive and the end index is exclusive – [start_index, end_index). Missing indexes indicate the range is unbounded on that side.

For example, if "Sheet1" is sheet ID 0, then:

Sheet1!A1:A1 == sheet_id: 0, start_row_index: 0, end_row_index: 1, start_column_index: 0, end_column_index: 1

Sheet1!A3:B4 == sheet_id: 0, start_row_index: 2, end_row_index: 4, start_column_index: 0, end_column_index: 2

Sheet1!A:B == sheet_id: 0, start_column_index: 0, end_column_index: 2

Sheet1!A5:B == sheet_id: 0, start_row_index: 4, start_column_index: 0, end_column_index: 2

Sheet1 == sheet_id:0

The start index must always be less than or equal to the end index. If the start index equals the end index, then the range is empty. Empty ranges are typically not meaningful and are usually rendered in the UI as #REF!.

Property Documentation

◆ EndColumnIndex

virtual System.Nullable<int> Google.Apis.Sheets.v4.Data.GridRange.EndColumnIndex
getset

The end column (exclusive) of the range, or not set if unbounded.

◆ EndRowIndex

virtual System.Nullable<int> Google.Apis.Sheets.v4.Data.GridRange.EndRowIndex
getset

The end row (exclusive) of the range, or not set if unbounded.

◆ ETag

virtual string Google.Apis.Sheets.v4.Data.GridRange.ETag
getset

The ETag of the item.

◆ SheetId

virtual System.Nullable<int> Google.Apis.Sheets.v4.Data.GridRange.SheetId
getset

The sheet this range is on.

◆ StartColumnIndex

virtual System.Nullable<int> Google.Apis.Sheets.v4.Data.GridRange.StartColumnIndex
getset

The start column (inclusive) of the range, or not set if unbounded.

◆ StartRowIndex

virtual System.Nullable<int> Google.Apis.Sheets.v4.Data.GridRange.StartRowIndex
getset

The start row (inclusive) of the range, or not set if unbounded.


The documentation for this class was generated from the following file: