function ReadTextPageSnapshot(PageNumber: Integer; const Options: TPdfTextSnapshotOptions; out Status: TPdfTextSnapshotStatus): TPdfTextPageSnapshot;
ReadTextPageSnapshot copies the character, rectangle and index facts of the text page of PageNumber (one-based) into an owned TPdfTextPageSnapshot
Status separates an unparseable text layer from bounded reads (an out-of-range page number raises EPdfError); the snapshot itself keeps no FPDF_TEXTPAGE handle and survives document reloads
PageNumber raises EPdfErrorReadTextPageSnapshot reads a fresh snapshot with the supplied Options; use TextPageSnapshot[PageNumber] for cached reads governed by TextSnapshotCacheCapacityvar St: TPdfTextSnapshotStatus;
Snap := Pdf1.ReadTextPageSnapshot(1, TPdfTextSnapshotOptions.Default, St);