get_image method

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):
    ...
ParameterTypeDescription
scale_xfloatThe horizontal scale factor applied to the paragraph image.
scale_yfloatThe vertical scale factor applied to the paragraph image.

See Also