Click or drag to resize

ConditionalFormats AddCondition Method (ConditionalFormatType, Boolean)

Note: This API is now obsolete.

Adds a new conditional format to the collection with the specified type and stop if true setting.

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
[ObsoleteAttribute("This Function is Obsolete;use XlsWorksheet.ConditionalFormats.Add instead")]
public ConditionalFormatWrapper AddCondition(
	ConditionalFormatType type,
	bool stopIsTrue
)

Parameters

type
Type: Spire.Xls ConditionalFormatType
The type of the conditional format.
stopIsTrue
Type: System Boolean
Indicates whether to stop evaluating further conditions if this condition is true.

Return Value

Type: ConditionalFormatWrapper
A new instance of ConditionalFormatWrapper configured with the specified type and stop if true setting.
See Also