com.groupdocs.redaction.integration

Interface IPreviewable

  • All Known Implementing Classes:
    Redactor


    public interface IPreviewable

    Defines methods to create preview of the document.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void generatePreview(PreviewOptions previewOptions)
      Generates preview images of specific pages in a given image format.
      IDocumentInfo getDocumentInfo()
      Gets the general information about the document - size, page count, etc.
    • Method Detail

      • generatePreview

        void generatePreview(PreviewOptions previewOptions)
                             throws Exception

        Generates preview images of specific pages in a given image format.

        Parameters:
        previewOptions - Image properties and page range settings
        Throws:
        java.lang.Exception;
        Exception
      • getDocumentInfo

        IDocumentInfo getDocumentInfo()
                                      throws Exception

        Gets the general information about the document - size, page count, etc.

        Returns:
        An instance of IDocumentInfo
        Throws:
        java.lang.Exception;
        Exception