Struct CellArea
Struct CellArea
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
셀 영역을 나타냅니다.
public struct CellArea : IComparable
구현
상속된 멤버
object.GetType(),
object.ToString(),
object.Equals(object?),
object.Equals(object?, object?),
object.ReferenceEquals(object?, object?),
object.GetHashCode()
예제
//셀 영역 생성
CellArea ca = new CellArea();
ca.StartRow = 0;
ca.EndRow = 0;
ca.StartColumn = 0;
ca.EndColumn = 0;
'셀 영역 생성
Dim ca As CellArea = New CellArea()
ca.StartRow = 0
ca.EndRow = 0
ca.StartColumn = 0
ca.EndColumn = 0
필드
EndColumn
이 영역의 끝 열을 가져오거나 설정합니다.
public int EndColumn
필드 값
EndRow
이 영역의 끝 행을 가져오거나 설정합니다.
public int EndRow
필드 값
StartColumn
이 영역의 시작 열을 가져오거나 설정합니다.
public int StartColumn
필드 값
StartRow
이 영역의 시작 행을 가져오거나 설정합니다.
public int StartRow
필드 값
메서드
CompareTo(object)
두 CellArea 객체를 왼쪽 상단 모서리에 따라 비교합니다.
public int CompareTo(object obj)
매개변수
obj
object
반환 값
두 모서리가 다른 행에 있으면 행 인덱스를 비교합니다. 그렇지 않으면 열 인덱스를 비교합니다.
두 모서리가 같으면 0이 반환됩니다.
CreateCellArea(int, int, int, int)
셀 영역을 생성합니다.
public static CellArea CreateCellArea(int startRow, int startColumn, int endRow, int endColumn)
매개변수
startRow
int
시작 행입니다.
startColumn
int
시작 열입니다.
endRow
int
끝 행입니다.
endColumn
int
끝 열입니다.
반환 값
Aspose.Cells.CellArea를 반환합니다.
CreateCellArea(string, string)
셀 영역을 생성합니다.
public static CellArea CreateCellArea(string startCellName, string endCellName)
매개변수
startCellName
string
범위의 왼쪽 상단 셀입니다.
endCellName
string
범위의 오른쪽 하단 셀입니다.
반환 값
Aspose.Cells.CellArea를 반환합니다.
ToString()
현재 셀 영역 객체를 나타내는 문자열을 반환합니다.
public override string ToString()