THPDFPage.SetOrientation Method
Sets orientation state for subsequent page drawing output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
Declaration
procedure SetOrientation(const Value: THPDFPageOrientation);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Value | Input used by SetOrientation |
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 finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak