ShapeCollection.AddPicture(String, Cell) Method
OBSOLETE
Use the Worksheet.Pictures.AddPicture(string filename, Cell topLeftCell) method instead.
Inserts a picture from a file so that the top left corner of the picture is located at the specified cell.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v19.1.Core.dll
Declaration
[Obsolete("Use the Worksheet.Pictures.AddPicture(string filename, Cell topLeftCell) method instead.", false)]
Picture AddPicture(
string filename,
Cell topLeftCell
)
Parameters
Name | Type | Description |
---|---|---|
filename | String | A string that specifies a path to the image file. |
topLeftCell | Cell | A Cell where the top left corner of the picture is located. |
Returns
Type | Description |
---|---|
Picture | A Picture object that is the inserted picture. |
Remarks
Inserted picture has a FloatingObject.Placement set to Placement.Move.
See Also