THPDFPageDisplayList.GetToken
Copies one parsed page content token without exposing the display list storage array
Declaration
function GetToken(Index: Integer;
out Token: THPDFContentToken): boolean;
Parameters
Index is a zero-based token index and Token receives a copy of the record
Return value
True for an index below TokenCount, otherwise False with a default token
Usage notes
- The display list remains owned by its caller or the document cache
- Backends can iterate tokens without reparsing the original content streams
- Resource objects referenced through the request remain non-owning