zplCore.comzplCore.com

VectorLiftOptions

public sealed class VectorLiftOptions

Options for VectorLift.

Constructors

SignatureDescription
# VectorLiftOptions()

Properties

PropertyTypeDescription
CompareTolerance { get; set; }intPixel tolerance of the fidelity comparison (see ImageCompare).
CropMarginMm { get; set; }doubleMargin around the content when VectorLiftOptions.CropToContent is set.
CropToContent { get; set; }boolCrop the page to its printed content (plus VectorLiftOptions.CropMarginMm), e.g. a label on an A4 sheet.
Dpi { get; set; }int?Printer resolution in dots per inch; null = detect (embedded image resolution, barcode module grid) or 203.
FontMode { get; set; }LiftFontModeText reproduction (font 0 or downloaded TrueType fonts).
Fonts { get; }IDictionary<string, byte[]>TrueType fonts for LiftFontMode.EmbedTrueType, keyed by PDF/SVG font name or family (case-insensitive, e.g. "Arial", "Helvetica-Bold"). Only fonts whose licence allows embedding are downloaded.
GraphicCompression { get; set; }GraphicCompressionCompression of ^GF graphics (fallback regions and the raster comparison).
HeightMm { get; set; }double?Label height in mm; null = page (or crop) height.
ImageDither { get; set; }DitherModeDithering for photo-like images that fall back to ^GF (line art is always thresholded).
IncludeImages { get; set; }boolInclude PNGs of the original, the lifted render and the diff in the result.
LiftBarcodes { get; set; }boolDetect, decode and regenerate barcodes as native ^B commands (otherwise as graphic).
LiftShapes { get; set; }boolReproduce lines, boxes, circles and ellipses as ^GB/^GC/^GE/^GD (otherwise as graphic).
LiftText { get; set; }boolReproduce text as ZPL text fields (otherwise as graphic).
MeasureFidelity { get; set; }boolRender the result and compare it with the original (fills the fidelity values).
MinShapeScore { get; set; }doubleMinimum per-element score (0–1) for a native shape; below it the shape becomes graphic.
Page { get; set; }intPDF page (1-based).
Scale { get; set; }LiftScaleScaling when VectorLiftOptions.WidthMm/VectorLiftOptions.HeightMm differ from the page size.
WidthMm { get; set; }double?Label width in mm; null = page (or crop) width.