com.groupdocs.watermark.contents

Interfaces

Classes

com.groupdocs.watermark.contents

Class ImageContent

    • Method Detail

      • getHeight

        public final int getHeight()

        Gets the height of this ImageContent in pixels.

        Returns:
        The height of this ImageContent in pixels. Returns the height of the active frame for a multiframe image.
      • getWidth

        public final int getWidth()

        Gets the width of this ImageContent in pixels.

        Returns:
        The width of this ImageContent in pixels. Returns the width of the active frame for a multiframe image.
      • performSave

        public void performSave(OutputStream stream,
                       SaveOptions saveOptions)

        Saves the content to the specified stream.

        Specified by:
        performSave in class Content
        Parameters:
        stream - The stream to save the content data to.
        saveOptions - The options tha should be used when saving the content data.