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
)
<ObsoleteAttribute("This Function is Obsolete;use XlsWorksheet.ConditionalFormats.Add instead")>
Public Function AddCondition (
type As ConditionalFormatType,
stopIsTrue As Boolean
) As ConditionalFormatWrapper
public:
[ObsoleteAttribute(L"This Function is Obsolete;use XlsWorksheet.ConditionalFormats.Add instead")]
ConditionalFormatWrapper^ AddCondition(
ConditionalFormatType type,
bool stopIsTrue
)
[<ObsoleteAttribute("This Function is Obsolete;use XlsWorksheet.ConditionalFormats.Add instead")>]
member AddCondition :
type : ConditionalFormatType *
stopIsTrue : bool -> ConditionalFormatWrapper
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