FormatConditionCollection

FormatConditionCollection

Overview

FormatConditionCollection là một lớp trong Aspose.Cells cho NET.

FormatConditionCollection.Add adds a conditional format for the specified area with type, operator and formulas.

Description

FormatConditionCollection là một lớp học trong thư viện FOSS cho .NET mà trình bày 8 phương pháp và 2 thuộc tính để sử dụng lập trình.

lớp cũng cung cấp các Count tài sản (tính đến tổng số điều kiện trong thu thập), các RangeCount tài sản (đánh giá số lượng các khu vực tế bào khác nhau trong bộ sưu tập).

Properties

NameTypeAccessDescription
CountintReadNhận tổng số điều kiện trong bộ sưu tập
RangeCountintReadNhận số lượng các khu vực tế bào khác nhau trong bộ sưu tập

Methods

SignatureDescription
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string)Thêm định dạng điều kiện cho khu vực cụ thể với loại, nhà khai thác và công thức
AddCondition(type: FormatConditionType)Thêm một trạng thái mới với loại cụ thể bằng cách sử dụng các nhà điều hành mặc định và công thức trống
AddCondition(type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string)
AddArea(area: CellArea)Thêm CellArea cụ thể vào danh sách phạm vi của bộ sưu tập
GetCellArea(index: int)Trở lại CellArea tại chỉ số đã được cung cấp
RemoveArea(index: int)Xóa khu vực tế bào tại chỉ số dựa trên zero được xác định
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int)
RemoveCondition(index: int)Xóa điều kiện tại chỉ số đã được cung cấp

See Also

 Tiếng Việt