THPDFPageUnits Record
Remembers a page's size, orientation, resolution, width, and height by object number, so a page revisited with SetCurrentPageNumber keeps its own units
Declaration
THPDFPageUnits= record
ObjectNumber: Integer;
Size: THPDFPageSize;
Orientation: THPDFPageOrientation;
Resolution: Integer;
Width: Single;
Height: Single;
end;
Unit
HPDFDoc
Usage notes
- Treat all fields as one coherent result snapshot produced by the owning API
- Initialize caller-owned records before reuse when an API can return early because of invalid input or a work budget