SpreadJS Documentation
getPictures Method
Gets the pictures.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: Array
value = instance.getPictures();
function getPictures() : Array;

Return Value

The GcSpread.Sheets.Picture array of picture instances.
Example
This example gets the pictures.
activeSheet.addPicture("p1", "wijmo_logo.png", 0, 0, 4, 4);
activeSheet.addPicture("p2", "wijmo_footer_tooltip.png", 5, 0, 9, 4);
var pictures = activeSheet.getPictures();
for (var i = 0; i < pictures.length; i++) {
    alert(pictures[i].src())
}
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.