[]
从现有文件创建图片。返回表示新图片的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 对象。 |