GC.Spread.Sheets.ConditionalFormatting Namespace > ConditionalFormats type : addIconSetRule Method |
var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionalFormats(worksheet); var value; // Type: object value = instance.addIconSetRule(iconSetTye, ranges);
function addIconSetRule( iconSetTye : IconSetType, ranges : undefined ) : object;
activeSheet.setValue(0,0,1,3);
activeSheet.setValue(1,0,15,3);
activeSheet.setValue(2,0,25,3);
activeSheet.setValue(3,0,-1,3);
activeSheet.conditionalFormats.addIconSetRule(GC.Spread.Sheets.ConditionalFormatting.IconSetType.fourTrafficLights, [new GC.Spread.Sheets.Range(0,0,4,1)]);