[]
Creates a picture from an existing file.
IShape AddPictureToCell(string fileName, bool linkToFile, bool saveWithDocument, int row, int column, double width = NaN, double height = NaN)
Function AddPictureToCell(fileName As String, linkToFile As Boolean, saveWithDocument As Boolean, row As Integer, column As Integer, Optional width As Double = NaN, Optional height As Double = NaN) As IShape
| Type | Name | Description |
|---|---|---|
| string | fileName | The file from which the picture is to be created. |
| bool | linkToFile | The file to link to. |
| bool | saveWithDocument | To save the picture with the document. |
| int | row | The row index of the upper-left corner of the shape's bounding box. |
| int | column | The column index of the upper-left corner of the shape's bounding box. |
| double | width | The width of the picture, in pixels. |
| double | height | The height of the picture, in pixels. |
| Type | Description |
|---|---|
| IShape | The new picture. |