[]
        
首页
开发者学堂
文档
论坛
市场
生态机会
活动
在线咨询 立即试用
(Showing Draft Content)

GC.Spread.Sheets.ConditionalFormatting.Top10ConditionType

Enumeration: Top10ConditionType

Sheets.ConditionalFormatting.Top10ConditionType

指定前10条件类型。

example

//此示例使用Top10ConditionType枚举。
var style = new GC.Spread.Sheets.Style();
style.backColor = "red";
var ranges=[new GC.Spread.Sheets.Range(0,0,10,1)];
activeSheet.conditionalFormats.addTop10Rule(GC.Spread.Sheets.ConditionalFormatting.Top10ConditionType.top, 2, style, ranges);
activeSheet.setValue(0, 0, 1);
activeSheet.setValue(1, 0, 50);
activeSheet.setValue(2, 0, 11);
activeSheet.setValue(3, 0, 5);

Table of contents

Enumeration members

Enumeration members

bottom

• bottom = 1

指定底部条件。


top

• top = 0

指定顶部条件。