com.aspose.pdf.facades

Class Facade

    • Method Detail

      • getDocument

        public IDocument getDocument()

        Gets the document facade is working on.

        Returns:
        IDocument element
      • bindPdf

        public void bindPdf(String srcFile)

        Initializes the facade.

        Specified by:
        bindPdf in interface IFacade
        Parameters:
        srcFile - The PDF file.
      • bindPdf

        public void bindPdf(InputStream srcStream)

        Initializes the facade.

        Specified by:
        bindPdf in interface IFacade
        Parameters:
        srcStream - The stream of PDF file.
      • bindPdf

        public void bindPdf(IDocument srcDoc)

        Initializes the facade.

        Specified by:
        bindPdf in interface IFacade
        Parameters:
        srcDoc - The Document object.
      • bindPdf

        public void bindPdf(String srcFile,
                            String password)
        Initializes the facade.
        Parameters:
        srcFile - The PDF file
        password - The password of the PDF document.
      • bindPdf

        public void bindPdf(InputStream srcStream,
                            String password)
        Initializes the facade.
        Parameters:
        srcStream - The stream of PDF file.
        password - The password of the PDF document.
      • close

        public void close()

        Disposes Document bound with a facade.

        Specified by:
        close in interface IFacade
      • dispose

        public void dispose()

        Disposes the facade.

        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable