var instance = new GC.Spread.Sheets.Workbook(host); var value; // Type: Array value = instance.getCustomNames();
function getCustomNames() : Array;
戻り値の型
配列に格納された型GC.Spread.Sheets.NameInfo。
var instance = new GC.Spread.Sheets.Workbook(host); var value; // Type: Array value = instance.getCustomNames();
function getCustomNames() : Array;
spread.addCustomName("customName1", "=12", 0, 0); spread.addCustomName("customName2", "Average(20,45)", 0, 0); activeSheet.setFormula(1, 0, "customName1"); activeSheet.setFormula(1, 1, "customName2"); var names = spread.getCustomNames(); for (var i = 0; i < names.length; i++) { alert(names[i].getName()); }