THotPDF.ApplyContextualSubst Method

Applies contextual subst processing inside the document creation workflow. The method transforms text, form packets, validation profiles, or loaded PDF data while preserving public identifiers and caller-supplied resources

Declaration

function ApplyContextualSubst(const InputGIDs: array of Word; StartIndex: Integer; const FeatureTag: AnsiString; var OutGIDs: TGSUBLookupArray; out ConsumedLen: Integer): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
InputGIDsInput used by ApplyContextualSubst
StartIndexZero-based index or object index used to select an existing item
FeatureTagInput used by ApplyContextualSubst
OutGIDsInput used by ApplyContextualSubst
ConsumedLenInput used by ApplyContextualSubst

Return value

Returns a boolean value

Usage notes

Related APIs