FormatConditionCollection Class

FormatConditionCollection class

Represents conditional formatting.The FormatConditions can contain up to three conditional formats.


type FormatConditionCollection struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
AddAdds a formatting condition and effected cell rang to the FormatConditionsThe FormatConditions can contain up to three conditional formats.References to the other sheets are not allowed in the formulas of conditional formatting.
AddAreaAdds a conditional formatted cell range.
AddCondition_FormatConditionType_OperatorType_String_StringAdds a formatting condition.
AddCondition_FormatConditionTypeAdd a format condition.
GetCountGets the count of the conditions.
GetRangeCountGets count of conditionally formatted ranges.
GetGets the formatting condition by index.
GetCellAreaGets the conditional formatted cell range by index.
RemoveArea_IntRemoves conditional formatted cell range by index.
RemoveArea_Int_Int_Int_IntRemove conditional formatting int the range.
RemoveConditionRemoves the formatting condition by index.