// パラメータ var r; //タイプ: number var c; //タイプ: number var rc; //タイプ: number var cc; //タイプ: number var instance = new GC.Spread.Sheets.Range(r, c, rc, cc);
パラメータ
- r
- 行インデックス。
- c
- 列インデックス。
- rc
- 行数。
- cc
- 列数。
// パラメータ var r; //タイプ: number var c; //タイプ: number var rc; //タイプ: number var cc; //タイプ: number var instance = new GC.Spread.Sheets.Range(r, c, rc, cc);
var style = new GC.Spread.Sheets.Style(); style.backColor = "red"; var rule = new GC.Spread.Sheets.ConditionalFormatting.NormalConditionRule(); rule.ruleType(GC.Spread.Sheets.ConditionalFormatting.RuleType.cellValueRule); rule.ranges([new GC.Spread.Sheets.Range(0,0,5,1)]); rule.operator(GC.Spread.Sheets.ConditionalFormatting.ComparisonOperators.between); rule.style(style); rule.value1(2); rule.value2(100); activeSheet.conditionalFormats.addRule(rule); activeSheet.setValue(0,0,1,3); activeSheet.setValue(1,0,45,3);
var style = new GC.Spread.Sheets.Style(); style.backColor = "red"; var rule = new GC.Spread.Sheets.ConditionalFormatting.NormalConditionRule(); rule.ruleType(GC.Spread.Sheets.ConditionalFormatting.RuleType.cellValueRule); rule.ranges([new GC.Spread.Sheets.Range(0,0,5,1)]); rule.operator(GC.Spread.Sheets.ConditionalFormatting.ComparisonOperators.between); rule.style(style); rule.value1(2); rule.value2(100); activeSheet.conditionalFormats.addRule(rule); activeSheet.setValue(0,0,1,3); activeSheet.setValue(1,0,45,3);