THotPDF.GetAlternateGlyph Method
Reads alternate glyph information from the current document creation state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetAlternateGlyph(InputGID: Word; const FeatureTag: AnsiString; AlternateIndex: Integer): Word;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
InputGID | Input used by GetAlternateGlyph |
FeatureTag | Input used by GetAlternateGlyph |
AlternateIndex | Zero-based index or object index used to select an existing item |
Return value
Returns a Word value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised