PresentationWatermarkableImage class
Leave feedback
On this page
Represents an image inside a PowerPoint document.
The PresentationWatermarkableImage type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the PresentationWatermarkableImage class using specified image data. |
| Method | Description |
|---|---|
| add | Adds a watermark to this WatermarkableImage. This method assumes that watermark offset and size are measured in pixels (if they are assigned). (inherited from WatermarkableImage) |
| add_watermark | (inherited from WatermarkableImage) |
| find_images | Finds images according to the specified search criteria. (inherited from ContentPart) |
| find_images_image_search_criteria | (inherited from ContentPart) |
| get_bytes | Gets the image as a byte array. (inherited from WatermarkableImage) |
| search | Finds possible watermarks according to the specified search criteria. (inherited from ContentPart) |
| search_search_criteria | (inherited from ContentPart) |
| Property | Description |
|---|---|
| height | The height of this WatermarkableImage in pixels. (inherited from WatermarkableImage) |
| width | The width of this WatermarkableImage in pixels. (inherited from WatermarkableImage) |
import groupdocs.watermark as gw
import groupdocs.watermark.contents.presentation as gwc_ppt
with open("image.png", "rb") as f:
img = gwc_ppt.PresentationWatermarkableImage(f.read())
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.