THotPDF.SearchLoadedNext Method
Provides search loaded next behaviour for the document creation workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
function SearchLoadedNext(PageIndex: Integer; const Needle: UnicodeString; CaseSensitive: boolean; const PreviousMatch: THPDFTextMatch; out AMatch: THPDFTextMatch): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
Needle | Input supplied to SearchLoadedNext |
CaseSensitive | Input supplied to SearchLoadedNext |
PreviousMatch | Input supplied to SearchLoadedNext |
AMatch | Input supplied to SearchLoadedNext |
Return value
Returns a boolean value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Keep object, field and resource names, and returned handles, stable whilst the document is being finalised
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values