draw_image method
draw_image
Draws the specified image.
def draw_image(self, data, image_format, rect):
...
Parameter | Type | Description |
---|---|---|
data | bytes | An array of bytes representing the image. |
image_format | aspose.html.drawing.WebImageFormat | Image format. |
rect | aspose.pydrawing.RectangleF | A rectangel which determines position and size to draw. |
See Also
- module
aspose.html.rendering.doc
- class
DocDevice