SpreadJS Documentation
Picture Constructor
GC.Spread.Sheets.FloatingObjects Namespace > Picture type : Picture Constructor
The name of the picture.
The image source of the picture.
The x location of the picture.
The y location of the picture.
The width of the picture.
The height of the picture.
Represents a picture.
Syntax
var instance = new GC.Spread.Sheets.FloatingObjects.Picture(name, src, x, y, width, height);
function Picture( 
   name : string,
   src : string,
   x : number,
   y : number,
   width : number,
   height : number
) : Picture;

Parameters

name
The name of the picture.
src
The image source of the picture.
x
The x location of the picture.
y
The y location of the picture.
width
The width of the picture.
height
The height of the picture.
See Also

Reference

Picture type