Struct CellArea

Struct CellArea

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

Rappresenta un’area di celle.

public struct CellArea : IComparable

Implementa

IComparable

Membri Ereditati

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Esempi


//Crea Area Celle
CellArea ca = new CellArea();
ca.StartRow = 0;
ca.EndRow = 0;
ca.StartColumn = 0;
ca.EndColumn = 0;

'Crea Area Celle
Dim ca As CellArea = New CellArea()
ca.StartRow = 0
ca.EndRow = 0
ca.StartColumn = 0
ca.EndColumn = 0

Campi

EndColumn

Ottiene o imposta la colonna finale di quest’area.

public int EndColumn

Valore del Campo

int

EndRow

Ottiene o imposta la riga finale di quest’area.

public int EndRow

Valore del Campo

int

StartColumn

Ottiene o imposta la colonna iniziale di quest’area.

public int StartColumn

Valore del Campo

int

StartRow

Ottiene o imposta la riga iniziale di quest’area.

public int StartRow

Valore del Campo

int

Metodi

CompareTo(object)

Confronta due oggetti CellArea in base al loro angolo in alto a sinistra.

public int CompareTo(object obj)

Parametri

obj object

Restituisce

int

Se due angoli si trovano in righe diverse, allora confronta il loro indice di riga. Altrimenti confronta il loro indice di colonna.
Se due angoli sono uguali, verrà restituito 0.

CreateCellArea(int, int, int, int)

Crea un’area di celle.

public static CellArea CreateCellArea(int startRow, int startColumn, int endRow, int endColumn)

Parametri

startRow int

La riga iniziale.

startColumn int

La colonna iniziale.

endRow int

La riga finale.

endColumn int

La colonna finale.

Restituisce

CellArea

Restituisce un Aspose.Cells.CellArea.

CreateCellArea(string, string)

Crea un’area di celle.

public static CellArea CreateCellArea(string startCellName, string endCellName)

Parametri

startCellName string

La cella in alto a sinistra dell’intervallo.

endCellName string

La cella in basso a destra dell’intervallo.

Restituisce

CellArea

Restituisce un Aspose.Cells.CellArea.

ToString()

Restituisce una stringa che rappresenta l’oggetto area celle corrente.

public override string ToString()

Restituisce

string

 Italiano