THotPDF.SetLoadedOptionalContentGroupVisible Method
Sets loaded optional content group visible state for subsequent document creation output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
Declaration
procedure SetLoadedOptionalContentGroupVisible(Index: Integer; Visible: boolean);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Index | Zero-based index or object index used to select an existing item |
Visible | Input supplied to SetLoadedOptionalContentGroupVisible |
Return value
This member returns no 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