com.groupdocs.watermark.options

Interfaces

Classes

com.groupdocs.watermark.options

Class EmailPreviewOptions



  • public class EmailPreviewOptions
    extends PreviewOptions

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

    • Field Detail

      • DefaultResolution

        public static final float DefaultResolution

        Default resolution in dots per inch.

        See Also:
        Constant Field Values
    • Constructor Detail

      • EmailPreviewOptions

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

        public EmailPreviewOptions(ICreatePageStream createPageStream,
                           IReleasePageStream releasePageStream)
        Initializes a new instance of EmailPreviewOptions 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 float getResolution()

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


        The default value is 96.
      • setResolution

        public final void setResolution(float value)

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


        The default value is 96.