com.groupdocs.comparison.options

Class PreviewOptions



  • public class PreviewOptions
    extends Object

    Represents document preview options.

    • Constructor Detail

      • PreviewOptions

        public PreviewOptions(Delegates.CreatePageStream createPageStream)

        Initializes a new instance of PreviewOptions class.

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

        public PreviewOptions(Delegates.CreatePageStream createPageStream,
                      Delegates.ReleasePageStream releasePageStream)

        Initializes a new instance of PreviewOptions class.

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

      • getCreatePageStream

        public Delegates.CreatePageStream getCreatePageStream()
        Delegate which defines method to create output page preview stream.
      • getHeight

        public final int getHeight()

        Preview height.

      • getPageNumbers

        public final int[] getPageNumbers()

        Page numbers that will be previewed.

      • getPreviewFormat

        public final int getPreviewFormat()

        Preview image format.

      • getReleasePageStream

        public Delegates.ReleasePageStream getReleasePageStream()
        Delegate which defines method to remove output page preview stream.
      • getWidth

        public final int getWidth()

        Preview width.

      • setCreatePageStream

        public void setCreatePageStream(Delegates.CreatePageStream mCreatePageStream)
        Delegate which defines method to create output page preview stream.
      • setHeight

        public final void setHeight(int value)

        Preview height.

      • setPageNumbers

        public final void setPageNumbers(int[] value)

        Page numbers that will be previewed.

      • setPreviewFormat

        public final void setPreviewFormat(int value)

        Preview image format.

      • setReleasePageStream

        public void setReleasePageStream(Delegates.ReleasePageStream mReleasePageStream)
        Delegate which defines method to remove output page preview stream.
      • setWidth

        public final void setWidth(int value)

        Preview width.