var instance = new GC.Spread.Sheets.FloatingObjects.Picture(name, src, x, y, width, height); var value; // Type: number value = instance.getOriginalHeight();
function getOriginalHeight() : number;
戻り値の型
ピクチャの元の高さ。
var instance = new GC.Spread.Sheets.FloatingObjects.Picture(name, src, x, y, width, height); var value; // Type: number value = instance.getOriginalHeight();
function getOriginalHeight() : number;
<input type="button" id="button1" value="button1"/> activeSheet.pictures.add("f2","Event.png",2,2,6,6); activeSheet.pictures.add("f1","tsoutline.png",3,0,6,6); var picture = activeSheet.pictures.get("f2"); picture.pictureStretch(GC.Spread.Sheets.ImageLayout.center); $("#button1").click(function () { alert(picture.getOriginalHeight()); });
<input type="button" id="button1" value="button1"/> activeSheet.pictures.add("f2","Event.png",2,2,6,6); activeSheet.pictures.add("f1","tsoutline.png",3,0,6,6); var picture = activeSheet.pictures.get("f2"); picture.pictureStretch(GC.Spread.Sheets.ImageLayout.center); $("#button1").click(function () { alert(picture.getOriginalHeight()); });