Class MoveDimensionRequest
Moves one or more rows or columns.
Inheritance
System.Object
MoveDimensionRequest
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class MoveDimensionRequest : IDirectResponseSchema
Properties
DestinationIndex
The zero-based start index of where to move the source data to, based on the coordinates before the source data is removed from the grid. Existing data will be shifted down or right (depending on the dimension) to make room for the moved dimensions. The source dimensions are removed from the grid, so the the data may end up in a different index than specified.
For example, given A1..A5 of 0, 1, 2, 3, 4 and wanting to move "1" and "2" to between "3" and
"4", the source would be ROWS [1..3),and the destination index would be "4" (the zero-based index of
row 5). The end result would be A1..A5 of 0, 3, 1, 2, 4.
Declaration
[JsonProperty("destinationIndex")]
public virtual int? DestinationIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Source
The source dimensions to move.
Declaration
[JsonProperty("source")]
public virtual DimensionRange Source { get; set; }
Property Value
| Type | Description |
|---|---|
| DimensionRange |
Implements
Google.Apis.Requests.IDirectResponseSchema