THPDFPageTextStateSave Record
Holds 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;
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