com.groupdocs.watermark

Class PresentationPreviewOptions



  • public class PresentationPreviewOptions
    extends PreviewOptions

    Provides options to sets requirements and stream delegates for preview generation of Presentation document.

    • Field Detail

      • DefaultResolution

        public static final long DefaultResolution

        Default resolution in dots per inch.

        See Also:
        Constant Field Values
    • Constructor Detail

      • PresentationPreviewOptions

        public PresentationPreviewOptions(ICreatePageStream createPageStream)
        Initializes a new instance of the PresentationPreviewOptions class causing the output stream to be closed.
        Parameters:
        createPageStream - Creates a stream for a specific page preview.
      • PresentationPreviewOptions

        public PresentationPreviewOptions(ICreatePageStream createPageStream,
                                  IReleasePageStream releasePageStream)
        Initializes a new instance of PresentationPreviewOptions class causing the output stream to be returned to the client for further use.
        Parameters:
        createPageStream - Creates a stream for a specific page preview.
        releasePageStream - Notifies that the page preview generation is done and gets the output stream.
    • Method Detail

      • getResolution

        public final long getResolution()

        Gets or sets the resolution for the generated images, in dots per inch.


        The default value is 300.
      • setResolution

        public final void setResolution(long value)

        Gets or sets the resolution for the generated images, in dots per inch.


        The default value is 300.