com.grapecity.documents.excel.drawing Package / IShapes Interface / addPicture Method / addPicture(String,IRange) Method
The file from which the object is to be created
The target range of the current sheet.
In This Topic
addPicture(String,IRange) Method
In This Topic
Creates a picture from an existing file at the specified range on the current sheet.

The sheet of targetRange and the sheet of the shape being added must be the same sheet.

Returns the IShape object that represents the new picture.

Syntax
IShape addPicture( 
   java.lang.String filename,
   IRange range
)

Parameters

filename
The file from which the object is to be created
range
The target range of the current sheet.

Return Value

The IShape object.
See Also