Interface IHPDFHandledDocument
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;
Tài liệu đã xử lý bất biến giữ lại các byte PDF đã tạo và nguồn gốc trang nguồn sau khi stream nguồn của bên gọi được giải phóng
WritePDF công bố từ cache với khả năng rollback trên một đích có thể tìm kiếm, trong khi RenderPage áp dụng DPI và giới hạn pixel trước khi cấp phát bitmap kết quả