FormatConditionCollection

FormatConditionCollection

개요

FormatConditionCollection은 Aspose.Cells에서 NET용 클래스입니다.

FormatConditionCollection.Add는 지정된 영역에 대해 유형, 연산자 및 수식과 함께 조건부 서식을 추가합니다.

설명

FormatConditionCollection은 .NET용 Aspose.Cells FOSS 라이브러리의 클래스이며, 프로그래밍 사용을 위해 8개의 메서드와 2개의 속성을 제공합니다.

이 클래스는 또한 Count 속성(컬렉션의 전체 조건 수를 반환)과 RangeCount 속성(컬렉션 내 고유 셀 영역 수를 반환)을 제공합니다.

속성

이름유형액세스설명
Countint읽기컬렉션에 있는 조건의 총 수를 가져옵니다
RangeCountint읽기컬렉션에 포함된 고유 셀 영역의 수를 가져옵니다

메서드

시그니처설명
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string)지정된 영역에 대해 유형, 연산자 및 수식을 사용하여 조건부 서식을 추가합니다
AddCondition(type: FormatConditionType)기본 연산자와 빈 수식을 사용하여 지정된 유형으로 새 조건을 추가합니다
AddCondition(type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string)
AddArea(area: CellArea)지정된 CellArea을 컬렉션의 범위 목록에 추가합니다
GetCellArea(index: int)주어진 인덱스에 있는 CellArea을 반환합니다
RemoveArea(index: int)지정된 0 기반 인덱스에 있는 셀 영역을 제거합니다
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int)
RemoveCondition(index: int)주어진 인덱스의 조건을 삭제합니다.

참조

 한국어