Spread.Services Documentation
AddPicture(String,Double,Double,Double,Double) Method
GrapeCity.Documents.Spread.Drawing Namespace > IShapes Interface > AddPicture Method : AddPicture(String,Double,Double,Double,Double) Method
The file from which the object is to be created
The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.
The position (in points) of the upper-left corner of the picture relative to the top of the document.
The width of the picture, in points.
The height of the picture, in points.
Creates a picture from an existing file. Returns the IShape object that represents the new picture.
Syntax
IShape AddPicture( 
   System.string filename,
   System.double left,
   System.double top,
   System.double width,
   System.double height
)

Parameters

filename
The file from which the object is to be created
left
The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.
top
The position (in points) of the upper-left corner of the picture relative to the top of the document.
width
The width of the picture, in points.
height
The height of the picture, in points.

Return Value

The IShapeThe object.
See Also

Reference

IShapes Interface
IShapes Members
Overload List