RedactOptions
public sealed class RedactOptionsSettings of ZplRedact.Run.
Constructors
| Signature | Description |
|---|---|
# RedactOptions() |
Properties
| Property | Type | Description |
|---|---|---|
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; } | RedactCategories | Categories to redact (default RedactCategories.Default, conservative). |
Dpi { get; set; } | int | Resolution used to render the label for the analysis (default 203). |
KeepStructure { get; set; } | bool | Keep 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; } | bool | Re-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. |

