[]
从现有文件创建图片。返回表示新图片的IShape 对象。
IShape AddPictureInPixel(string name, string filename, double left, double top, double width, double height)
| Type | Name | Description |
|---|---|---|
| string | name | 图片名称。 |
| string | filename | 要从中创建对象的文件。 |
| double | left | 图片相对于文档左上角的左上角位置(以像素为单位)。 |
| double | top | 图片相对于文档顶部的左上角位置(以像素为单位)。 |
| double | width | 图片的宽度,以像素为单位。 |
| double | height | 图片的高度,以像素为单位。 |
| Type | Description |
|---|---|
| IShape | IShape 对象。 |
从现有文件创建图片。返回表示新图片的IShape 对象。
IShape AddPictureInPixel(string filename, double left, double top, double width, double height)
| Type | Name | Description |
|---|---|---|
| string | filename | 要从中创建对象的文件。 |
| double | left | 图片相对于文档左上角的左上角位置(以像素为单位)。 |
| double | top | 图片相对于文档顶部的左上角位置(以像素为单位)。 |
| double | width | 图片的宽度,以像素为单位。 |
| double | height | 图片的高度,以像素为单位。 |
| Type | Description |
|---|---|
| IShape | IShape 对象。 |
从现有流创建图片。返回表示新图片的IShape 对象。
IShape AddPictureInPixel(Stream stream, ImageType type, double left, double top, double width, double height)
| Type | Name | Description |
|---|---|---|
| Stream | stream | 要从中创建对象的流。 |
| ImageType | type | 指定要创建的图片类型。 |
| double | left | 图片相对于文档左上角的左上角位置(以像素为单位)。 |
| double | top | 图片相对于文档顶部的左上角位置(以像素为单位)。 |
| double | width | 图片的宽度,以像素为单位。 |
| double | height | 图片的高度,以像素为单位。 |
| Type | Description |
|---|---|
| IShape | IShape 对象。 |
从现有流创建图片。返回表示新图片的IShape 对象。
IShape AddPictureInPixel(string name, Stream stream, ImageType type, double left, double top, double width, double height)
| Type | Name | Description |
|---|---|---|
| string | name | 图片名称。 |
| Stream | stream | 要从中创建对象的流。 |
| ImageType | type | 指定要创建的图片类型。 |
| double | left | 图片相对于文档左上角的左上角位置(以像素为单位)。 |
| double | top | 图片相对于文档顶部的左上角位置(以像素为单位)。 |
| double | width | 图片的宽度,以像素为单位。 |
| double | height | 图片的高度,以像素为单位。 |
| Type | Description |
|---|---|
| IShape | IShape 对象。 |