THPDFPara.Hyphenator Property

property Hyphenator: THPDFHyphenationProvider;

References the caller-owned provider queried for discretionary breaks inside words

Custom providers derive from THPDFHyphenationProvider and override THPDFHyphenationProvider.GetHyphenationPoints, which receives the language tag and word and returns whether the word matched together with break positions and penalties in THPDFHyphenationPoints

THPDFDictionaryHyphenator is the ready-made word-list provider whose GetHyphenationPoints override answers from its AddWord dictionary and passes the stored penalty through

Assign nil to use Unicode line breaking without dictionary hyphenation and keep the provider alive while the paragraph can use it

Advanced Text and Streaming Layout