zplCore.comzplCore.com

VectorLift

public static class VectorLift

Vector-Lift: converts PDF and SVG labels into native ZPL – text as ^A0 fields, barcodes as native ^B commands (decoded, regenerated and verified), lines/boxes/circles as ^GB/^GC/^GE/^GD – and ^GF only for regions that have no native equivalent. Every result carries a fidelity measurement against the original rendered at the label resolution and a per-element report.

Online ausprobieren auf zplCloud.com: PDF/SVG zu nativem ZPL

Methods

Method SignatureReturnsDescription
static # Convert(byte[] data, VectorLiftOptions? options = default)VectorLiftResultConverts a PDF (page VectorLiftOptions.Page) or, when the data is SVG text, an SVG.
static # ConvertPdf(byte[] pdf, VectorLiftOptions? options = default)VectorLiftResultConverts one page of a PDF (VectorLiftOptions.Page, 1-based).
static # ConvertPdfPages(byte[] pdf, VectorLiftOptions? options = default)IReadOnlyList<VectorLiftResult>Converts every page of a PDF (options apply to each page; VectorLiftOptions.Page is ignored).
static # ConvertSvg(string svg, VectorLiftOptions? options = default)VectorLiftResultConverts an SVG document.
static # PdfPageCount(byte[] pdf)intNumber of pages of a PDF.