Table of Contents

Class PdfExporter

Namespace
NuvTools.Report.Pdf.Table
Assembly
NuvTools.Report.Pdf.dll

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

document Document

The 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

document Document

The document containing tables to export.

Returns

List<string>

A list of base64-encoded PDF strings, one for each table in the document.