SpreadJS Documentation
findPicture Method
The name of the picture to find.
Finds the picture with specified name.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: Picture
value = instance.findPicture(name);
function findPicture( 
   name : string
) : Picture;

Parameters

name
The name of the picture to find.

Return Value

Returns the picture.
Example
This example uses the findPicture method.
<input type="button" id="button1" value="button1"/>

activeSheet.addPicture("f2","tsoutline.png",2,2,6,6);

$("#button1").click(function () {
var pic = activeSheet.findPicture("f2");
    });
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.