IHPDFHandledDocument-Schnittstelle

IHPDFHandledDocument = interface(IInterface)
  function GetFormat: THPDFHandledDocumentFormat;
  function GetHandlerName: string;
  function GetPageCount: Integer;
  function GetPageSourceName(PageIndex: Integer): string;
  function WritePDF(Destination: TStream;
    const Options: THPDFDocumentHandlerOptions;
    out Info: THPDFDocumentHandlerInfo): boolean;
  function RenderPage(PageIndex, DPI: Integer;
    const Options: THPDFDocumentHandlerOptions; out Bitmap: TBitmap;
    out Info: THPDFDocumentHandlerInfo): boolean;
end;

Das unveränderliche behandelte Dokument behält erzeugte PDF-Bytes und die Herkunft der Quellseite, nachdem der Quellstream des Aufrufers freigegeben wurde

WritePDF veröffentlicht aus dem Cache mit Rollback in ein suchbares Ziel, während RenderPage DPI- und Pixelgrenzen vor der Zuweisung der Ergebnisbitmap anwendet

Optionale Dokumenthandler