public abstract class Facade extends Object implements IFacade, com.aspose.ms.System.IDisposable
Base facade class.
Modifier and Type | Method and Description |
---|---|
void |
bindPdf(IDocument srcDoc)
Initializes the facade.
|
void |
bindPdf(InputStream srcStream)
Initializes the facade.
|
void |
bindPdf(InputStream srcStream,
String password) |
void |
bindPdf(com.aspose.ms.System.IO.Stream srcStream)
Binds PDF document for editing.
|
void |
bindPdf(String srcFile)
Initializes the facade.
|
void |
close()
Disposes Aspose.Pdf.Document bound with a facade.
|
void |
dispose()
Disposes the facade.
|
IDocument |
getDocument()
Gets the document facade is working on.
|
public IDocument getDocument()
Gets the document facade is working on.
public void bindPdf(String srcFile)
Initializes the facade.
public void bindPdf(com.aspose.ms.System.IO.Stream srcStream)
IFacade
public void bindPdf(InputStream srcStream)
Initializes the facade.
srcStream
- The stream of PDF file.public void bindPdf(IDocument srcDoc)
Initializes the facade.
public void bindPdf(InputStream srcStream, String password)
public void close()
Disposes Aspose.Pdf.Document bound with a facade.
public void dispose()
Disposes the facade.
dispose
in interface com.aspose.ms.System.IDisposable
Copyright © 2017 Aspose. All Rights Reserved.