THPDFPage.EndOptionalContent Method
Closes the active optional content sequence in the page drawing workflow. Use it after all drawing, marked-content, optional-content, or figure operations for that sequence have been emitted
Declaration
procedure EndOptionalContent;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
This member does not return a value
Usage notes
- Use this API in the page drawing workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak