THPDFPage.RestoreState Method
Provides restore state behaviour for the page drawing workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance or diagnostics
Declaration
procedure RestoreState;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
This member returns no value
Usage notes
- Use this API in the page drawing workflow before the affected page, resource, field or catalogue 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