OleObjectCollection.Add
Contents
[
Hide
]Add(int, int, int, int, byte[])
Adds an OleObject to the collection.
public int Add(int upperLeftRow, int upperLeftColumn, int height, int width, byte[] imageData)
Parameter | Type | Description |
---|---|---|
upperLeftRow | Int32 | Upper left row index. |
upperLeftColumn | Int32 | Upper left column index. |
height | Int32 | Height of oleObject, in unit of pixel. |
width | Int32 | Width of oleObject, in unit of pixel. |
imageData | Byte[] | Image of ole object as byte array. |
Return Value
OleObject
object index.
See Also
- class OleObjectCollection
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells
Add(int, int, int, int, byte[], string)
Adds a linked OleObject to the collection.
public int Add(int upperLeftRow, int upperLeftColumn, int height, int width, byte[] imageData,
string linkedFile)
Parameter | Type | Description |
---|---|---|
upperLeftRow | Int32 | Upper left row index. |
upperLeftColumn | Int32 | Upper left column index. |
height | Int32 | Height of oleObject, in unit of pixel. |
width | Int32 | Width of oleObject, in unit of pixel. |
imageData | Byte[] | Image of ole object as byte array. |
linkedFile | String |
Return Value
OleObject
object index.
See Also
- class OleObjectCollection
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells