Packages

 

com.groupdocs.signature.options

Class PreviewOptions



  • public class PreviewOptions
    extends Object

    Represents document preview options.

    • Constructor Detail

      • PreviewOptions

        public PreviewOptions(CreatePageStream createPageStream,
                      int... pageNumbers)

        Initializes PreviewOptions object.

        Parameters:
        createPageStream - Delegate which defines method to create output page preview stream.
        pageNumbers - Desired page numbers
      • PreviewOptions

        public PreviewOptions(CreatePageStream createPageStream,
                      ReleasePageStream releasePageStream,
                      int... pageNumbers)

        Initializes PreviewOptions object.

        Parameters:
        createPageStream - Delegate which defines method to create output page preview stream.
        releasePageStream - Delegate which defines method to release output page preview stream.
        pageNumbers - Desired page numbers
    • Method Detail

      • getHeight

        public final int getHeight()

        Gets or sets preview images height.

      • getPageNumbers

        public final int[] getPageNumbers()

        Gets or sets preview images page numbers.

      • getPreviewFormat

        public final int getPreviewFormat()

        Gets or sets preview images format.

      • getWidth

        public final int getWidth()

        Gets or sets preview images width.

      • setHeight

        public final void setHeight(int value)

        Gets or sets preview images height.

      • setPageNumbers

        public final void setPageNumbers(int[] value)

        Gets or sets preview images page numbers.

      • setPreviewFormat

        public final void setPreviewFormat(int value)

        Gets or sets preview images format.

      • setWidth

        public final void setWidth(int value)

        Gets or sets preview images width.