com.groupdocs.watermark.options

Interfaces

Classes

com.groupdocs.watermark.options

Class DiagramPreviewOptions



  • public class DiagramPreviewOptions
    extends PreviewOptions

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

    • Field Detail

      • DefaultResolution

        public static final float DefaultResolution

        Default resolution in dots per inch.

        See Also:
        Constant Field Values
    • Constructor Detail

      • DiagramPreviewOptions

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

        public DiagramPreviewOptions(ICreatePageStream createPageStream,
                             IReleasePageStream releasePageStream)
        Initializes a new instance of DiagramPreviewOptions 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 300.
      • setResolution

        public final void setResolution(float value)

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


        The default value is 300.
      • getHighQualityRendering

        public final boolean getHighQualityRendering()

        Gets or sets the flag for high quality rendering.


        The high quality rendering uses more resources. The default value is false.
      • setHighQualityRendering

        public final void setHighQualityRendering(boolean value)

        Gets or sets the flag for high quality rendering.


        The high quality rendering uses more resources. The default value is false.