THotPDF.SetStructurePronunciation Method

Adds an exact pronunciation replacement and its inherited phonetic alphabet to an existing PDF 2.0 structure element

Declaration

procedure SetStructurePronunciation(
  Elem: THPDFDictionaryObject;
  const Phoneme: AnsiString;
  const PhoneticAlphabet: AnsiString = 'ipa');

Parameters

ParameterPurpose
ElemExisting structure element that owns the pronunciation hint
PhonemeNon-empty exact replacement interpreted by the effective phonetic alphabet
PhoneticAlphabetNon-empty PDF name inherited by descendant structure elements unless overridden, defaulting to ipa

Behavior

Related APIs