Add
内容
[
隐藏
]Add(int, int, int, int, byte[])
将 OleObject 添加到集合中。
public int Add(int upperLeftRow, int upperLeftColumn, int height, int width, byte[] imageData)
| 范围 | 类型 | 描述 |
|---|---|---|
| upperLeftRow | Int32 | 左上行索引。 |
| upperLeftColumn | Int32 | 左上列索引。 |
| height | Int32 | oleObject 的高度,以像素为单位。 |
| width | Int32 | oleObject 的宽度,以像素为单位。 |
| imageData | Byte[] | ole 对象的图像作为字节数组。 |
返回值
OleObject对象索引。
也可以看看
- class OleObjectCollection
- 命名空间 Aspose.Cells.Drawing
- 部件 Aspose.Cells
Add(int, int, int, int, byte[], string)
将链接的 OleObject 添加到集合中。
public int Add(int upperLeftRow, int upperLeftColumn, int height, int width, byte[] imageData,
string linkedFile)
| 范围 | 类型 | 描述 |
|---|---|---|
| upperLeftRow | Int32 | 左上行索引。 |
| upperLeftColumn | Int32 | 左上列索引。 |
| height | Int32 | oleObject 的高度,以像素为单位。 |
| width | Int32 | oleObject 的宽度,以像素为单位。 |
| imageData | Byte[] | ole 对象的图像作为字节数组。 |
| linkedFile | String |
返回值
OleObject对象索引。
也可以看看
- class OleObjectCollection
- 命名空间 Aspose.Cells.Drawing
- 部件 Aspose.Cells