GC.Spread.Sheets.FloatingObjects Namespace > Picture type : pictureStretch Method |
var instance = new GC.Spread.Sheets.FloatingObjects.Picture(name, src, x, y, width, height); var returnValue; // Type: any returnValue = instance.pictureStretch(value);
function pictureStretch( value : ImageLayout ) : any;
activeSheet.pictures.add("f2","Event.png",2,2,10,10); var picture = activeSheet.pictures.get("f2"); picture.pictureStretch(GC.Spread.Sheets.ImageLayout.stretch); picture.backColor("Blue"); picture.borderWidth(2); picture.borderColor("Red");