[]
Adds a new Picture to the end of the canvas shape.
public Picture AddPicture()
Adds a new Picture to the end of the canvas shape.
public Picture AddPicture(byte[] imageBytes, string contentType)
Type | Name | Description |
---|---|---|
byte[] | imageBytes | The image data representing the picture. |
string | contentType | The content type of the image data. |
Adds a new Picture to the end of the canvas shape.
public Picture AddPicture(Image image)
Type | Name | Description |
---|---|---|
Image | image |
Type | Description |
---|---|
Picture | The added Picture. The size of the picture is set to the size of the source image. |
Adds a new Picture to the end of the canvas shape.
public Picture AddPicture(byte[] imageBytes, string contentType, float width, float height)
Type | Name | Description |
---|---|---|
byte[] | imageBytes | The image data representing the picture. |
string | contentType | The content type of the image data. |
float | width | The picture's width, in points. |
float | height | The picture's height, in points. |