Interface ISoc2PdfRenderer
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Renders a SOC 2 report as a PDF document.
public interface ISoc2PdfRenderer
Remarks
PDF rendering is not part of Excalibur.Compliance. Install the Excalibur.Compliance.Pdf
package and call services.AddSoc2PdfExport() to enable Pdf.
Without it the report exporter reports PDF as unsupported and rejects a PDF export request; every
other export format is unaffected.
The PDF package depends on QuestPDF, whose Community edition is free only for licensees below USD 1,000,000 total annual gross revenue measured company-wide. Above that threshold a paid QuestPDF licence is required. That obligation reaches only consumers who install the PDF package.
Methods
Render(Soc2Report, Soc2ReportExportOptions)
Renders the report as a PDF document.
byte[] Render(Soc2Report report, Soc2ReportExportOptions options)
Parameters
reportSoc2ReportThe report to render.
optionsSoc2ReportExportOptionsExport options; the PDF-specific settings live on PdfOptions.
Returns
- byte[]
The rendered PDF bytes.