Reference · Rules and helpers · rules.rs

redact_find Function

Every place on every page the query finds, one box per line, and every form field whose value holds it (one box over the field: redacting it takes the field out of the form).

func redactFind(doc: PdfDoc, q: RedactQuery, lang: String) -> [RedactHit]

Parameters

NameTypeSwift / C#
docPdfDocdoc
qRedactQueryq
langStringlang

Returns

Vec<RedactHit>

Errors

Does not throw.

Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.