com.groupdocs.watermark.options

Interfaces

Classes

com.groupdocs.watermark.options

Class SpreadsheetPreviewOptions



  • public class SpreadsheetPreviewOptions
    extends PreviewOptions

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

    • Field Detail

      • DefaultResolution

        public int DefaultResolution

        Default resolution in dots per inch.

    • Constructor Detail

      • SpreadsheetPreviewOptions

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

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

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


        The default value is 96.
      • setResolution

        public final void setResolution(int value)

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


        The default value is 96.
      • getOnlyDataArea

        public final boolean getOnlyDataArea()

        Gets or sets the flag for rendering the data area only without headers, footers, margins.


        This flags leads to rendering the whole worksheet on one page. The default value is false.
      • setOnlyDataArea

        public final void setOnlyDataArea(boolean value)

        Gets or sets the flag for rendering the data area only without headers, footers, margins.


        This flags leads to rendering the whole worksheet on one page. The default value is false.