Table of Contents

Interface IPdfExporter

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

Exports documents to PDF format encoded as base64 strings.

public interface IPdfExporter

Methods

ExportFirstSheetToPdf(Document)

Exports the first table in a document to a PDF file encoded as a base64 string.

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.

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.