PresentationWatermarkableImage class

PresentationWatermarkableImage class

Represents an image inside a PowerPoint document.

The PresentationWatermarkableImage type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the PresentationWatermarkableImage class using specified image data.

Methods

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)

Properties

Property Description
height The height of this WatermarkableImage in pixels. (inherited from WatermarkableImage)
width The width of this WatermarkableImage in pixels. (inherited from WatermarkableImage)

Example

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())

See Also