zplCore.comzplCore.com

RedactOptions

public sealed class RedactOptions

Settings of ZplRedact.Run.

Constructors

SignatureDescription
# RedactOptions()

Properties

PropertyTypeDescription
AdditionalTerms { get; }IList<string>Extra strings to redact wherever they appear (case, accents and spacing ignored), e.g. a customer name known to the caller. Matched like the recognised values (whole words, at least 3 letters or digits).
Barcodes { get; set; }BarcodeRedaction
Categories { get; set; }RedactCategoriesCategories to redact (default RedactCategories.Default, conservative).
Dpi { get; set; }intResolution used to render the label for the analysis (default 203).
KeepStructure { get; set; }boolKeep the length and character classes of redacted values (default true), so the label keeps its layout and barcodes keep their size. When false, redacted text becomes a fixed marker ("[REDACTED]" or "[NAME]" …) and barcodes with redacted data are removed.
Mode { get; set; }RedactMode
Verify { get; set; }boolRe-render and re-scan the output: every redacted value is searched again in all field data, comments, stored formats and decoded image data (default true). Remaining matches are masked in a second pass and reported.