GcSpread.Sheets Namespace > Sheet type : addPicture Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: Picture value = instance.addPicture(name, src, startRow, startColumn, endRow, endColumn, startRowOffset, startColumnOffset, endRowOffset, endColumnOffset);
function addPicture( name : string, src : string, startRow : number, startColumn : number, endRow : number, endColumn : number, startRowOffset : number, startColumnOffset : number, endRowOffset : number, endColumnOffset : number ) : Picture;
<input type="button" id="button1" value="button1"/> activeSheet.addPicture("f2","tsoutline.png",2,2,6,6); $("#button1").click(function () { activeSheet.isPaintSuspended(false); activeSheet.removePicture("f2"); activeSheet.repaint(); });