get_image method
Contents
[
Hide
]get_image
Returns an image of the paragraph.
Returns
An image containing the rendered paragraph, or None if the paragraph cannot be found in its parent collection, has no valid rendering bounds, or an error occurs while rendering the image.
def get_image(self):
...
get_image
Returns an image of the paragraph with the specified scale.
Returns
An image containing the rendered paragraph, or None if the paragraph cannot be found in its parent collection, has no valid rendering bounds, or an error occurs while rendering the image.
def get_image(self, scale_x, scale_y):
...
| Parameter | Type | Description |
|---|---|---|
| scale_x | float | The horizontal scale factor applied to the paragraph image. |
| scale_y | float | The vertical scale factor applied to the paragraph image. |
See Also
- class
IImage - class
Paragraph - module
aspose.slides - library
Aspose.Slides