Class PdfExporter
Exports documents to PDF format using QuestPDF.
public class PdfExporter : IPdfExporter
- Inheritance
-
PdfExporter
- Implements
- Inherited Members
Methods
ExportFirstSheetToPdf(Document)
Exports the first table in a document to a PDF file encoded as a base64 string.
public string ExportFirstSheetToPdf(Document document)
Parameters
documentDocumentThe document containing the table to export.
Returns
- string
A base64-encoded PDF string of the first table.
ExportSheetToPdf(Document)
Exports all tables in a document to separate PDF files encoded as base64 strings.
public List<string> ExportSheetToPdf(Document document)
Parameters
documentDocumentThe document containing tables to export.