THPDFPageTextStateSave Record
Carries the text state that SaveState pushes and RestoreState brings back: font resource and size, character and word spacing, horizontal scaling and leading
Declaration
THPDFPageTextStateSave= record
TfName, TfSizeStr: AnsiString;
CharSpace, WordSpace, HorizontalScaling, Leading: Single;
Unit
HPDFDoc
Usage notes
- Treat every field as part of one coherent result snapshot produced by the owning API
- Where an API may return early because of invalid input or a work budget, initialise caller-owned records before reusing them