FormatConditionCollection

Přehled

FormatConditionCollection je třída v Aspose.Cells pro NET.

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

Vlastnosti

Název:Typ:PřístupPopis:
CountintČtěte.Získejte celkový počet podmínek v souboru.
RangeCountintČtěte.Získejte počet jednotlivých buněčných oblastí v souboru.

Metody

Podpis:Popis:
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string)Přidává podmíněný formát pro danou oblast s typem, operátorem a vzorci.
AddCondition(type: FormatConditionType)Přidává novou podmínku s uvedeným typem pomocí operace podle předpokladu a prázdných vzorců.
AddCondition(type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string)
AddArea(area: CellArea)Přidává specifikovaný CellArea do seznamu rozsahů kolekce
GetCellArea(index: int)Vrátí CellArea v daném indexu.
RemoveArea(index: int)Odstraňuje plochu buňky v uvedeném indexu na bázi nuly.
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int)
RemoveCondition(index: int)Vymaže podmínku v daném indexu
 Čeština