XlsConditionalFormats
AddTopBottomCondition Method
 | 
Add new TopN or BottomN condition to the collection.
Namespace:
Spire.Xls.Core.Spreadsheet.Collections
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
 
public IConditionalFormat AddTopBottomCondition(
	TopBottomType topBottomType,
	int rank
)
 
Public Function AddTopBottomCondition ( 
	topBottomType As TopBottomType,
	rank As Integer
) As IConditionalFormat
 
public:
IConditionalFormat^ AddTopBottomCondition(
	TopBottomType topBottomType, 
	int rank
)
 
member AddTopBottomCondition : 
topBottomType : TopBottomType * 
rank : int -> IConditionalFormat 
 
 
 
Parameters
- 
topBottomType
 
- 
Type:
Spire.Xls
TopBottomType
type of the Top or Bottom
 
- 
rank
 
- 
Type:
System
Int32
rank of the Top or Bottom
 
Return Value
Type:
IConditionalFormat
 
See Also