Table of Contents

Enum LlExportTarget

Namespace
combit.Reporting
Assembly
combit.ListLabel32.CrossPlatform.dll

Specifies the target format for export operations.

public enum LlExportTarget

Fields

Csv = 0

Export as CSV (Comma-Separated Values).

Docx = 7

Export as DOCX.

Html = 8

Export as HTML.

Jpeg = 3

Export as JPEG.

Json = 1

Export as JSON.

Pdf = 2

Export as PDF through the best engine available, which is what most callers want.

Resolves to PdfEnhanced where its native library can be loaded and to PdfStandard where it cannot, so a deployment that carries the library gets PDF/A conformance, encryption, e-invoices and interactive form fields, and one that does not still exports. Which engine was chosen is written to the log at debug level.

The two engines do not measure text identically, so the same report can break lines differently under each. Where that matters - a stored reference, or a set of documents that has to look alike - name PdfStandard or PdfEnhanced instead of leaving the choice to whatever is deployed.

PdfEnhanced = 9

Export as PDF through the enhanced PDF engine. Writes a .pdf document like Pdf does, but through the native PDF backend, which additionally supports PDF/A conformance, encryption and embedded e-invoices. Requires the native PDF library, which ships with the main package on Windows and with combit.ListLabel32.CrossPlatform.NativeAssets.Linux or combit.ListLabel32.CrossPlatform.NativeAssets.macOS on Linux and macOS, and fails with a ListLabelException when it cannot be loaded.

PdfStandard = 10

Export as PDF through the standard PDF engine, the same rendering backend every other cross-platform export target uses. Writes a .pdf document like Pdf does, but without PDF/A conformance, encryption, embedded e-invoices or interactive form fields.

This target needs nothing deployed beyond what any other export target already needs - which is not the same as needing nothing. That backend has native components of its own: the native SkiaSharp assets, which ship with the main package on Windows and macOS and with combit.ListLabel32.CrossPlatform.NativeAssets.Linux on Linux, plus on Linux the system font and image libraries listed in the deployment documentation. What this target does without is PdfEnhanced's additional native PDF library.

Use it to pin the engine where the output has to be identical on every machine whatever is deployed there - a stored comparison reference being the obvious case. Pdf is the one to reach for otherwise.

Png = 4

Export as PNG.

Svg = 5

Export as SVG.

Xlsx = 6

Export as XLSX.