wpUseHyphenation usage

  • Hi pmanderson,

    When you turn on hyphenation, you have to handle Memo.RTFData.OnHyphenate event. In this event is up to you to hyphenate the words (define the syllables).

    The hyphencount says how many hyphens the word should have. The hyphen parameter is an array of integers that says each syllabic division.

    For instance, the word parameter should result:

    pa-ra-me-ter
    hyphencount = 3
    hyphen = [2,4,6,0,0,..,0]