THotPDF.AddPronunciationLexicon Method

Embeds a PLS pronunciation lexicon and appends its indirect file specification to the PDF 2.0 structure tree in lookup order

Declaração

function AddPronunciationLexicon(
  const FileName, Description: AnsiString;
  const LexiconBytes: TBytes): THPDFDictionaryObject;

Parâmetros e resultado

ValorFinalidade
FileNameNon-empty embedded file name used by the Filespec and embedded-files name tree
DescriptionOptional human-readable Filespec/Desc text
LexiconBytesNon-empty XML bytes conforming to Pronunciation Lexicon Specification 1.0
ResultadoIndirect Filespec dictionary that owns the embedded lexicon reference

Comportamento

APIs relacionadas