Changes in Aspose.Pdf.Facades namespace since v7.3.0

Inherited from IFacade and ISaveableFacade interfaces
All Facades (except PdfJavaStripper and PdfFileEditor) are inherited from IFacade interface:
 public interface IFacade : IDisposable

{

    void BindPdf(Aspose.PDF.Document srcDoc);

    void BindPdf(System.IO.Stream srcStream);

    void BindPdf(string srcFile);

    void Close();

}

todo:image_alt_text

This implies that:

  • Only 2 facades (PdfJavaStripper and PdfFileEditor) do not support IFacade interface;
  • All 16 facades have Close method for files releasing;
  • All 16 facades support IDisposible interface.
  • All 16 facades can be initialized and released uniformly.
All 12 Facades (except PdfViewer, PdfConverter, PdfExtractor, AutoFiller) support ISaveableFacade interface:
 public interface ISaveableFacade: IFacade

{

    void Save(string destFile);

    void Save(Stream destStream);

}

todo:image_alt_text

Also please note that since the release of Aspose.PDF for .NET 7.3.0, some Facade constructors and properties are marked as Obsolete and are not recommended to use. These Facades with obsolete entities include: PdfFileMend, PdfFileSecurity, PdfFileStamp, FormEditor, Form, AutoFiller, PdfFileInfo, PdfViewer.