SpreadJS Documentation
removePicture Method
The name of the picture to remove.
Removes the picture with the specified name.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: any
value = instance.removePicture(name);
function removePicture( 
   name : string
) : any;

Parameters

name
The name of the picture to remove.
Example
This example uses the removePicture method.
<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();
    });
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.