Exports all visible worksheets to one PDF document while skipping hidden and chart sheets
Syntax
function SaveAsPDF(const FileName: WideString): Integer;
Example
The export uses each worksheet's print area, paper size, orientation, and margins and returns 1 on success
TXLSPDFExport.CreatePaginationModel exposes the exact logical pages used by PDF output for print preview, custom canvas rendering, or EMF export
Workbook.SaveAsPDF('Workbook.pdf');