Setting font on empty paragraphs using CallForSelectedText?

  • When I use the TextCursor.CallForSelectedText to change the fontname, I use the TWPCharAttrCallback to set the fontname. However, this only changes the text attribute and not the paragraph attribute. What this means is that empty paragraphs are still referencing the original fontname.

    I tried adding a TWPParCallback function and used par.ASetFontName but that does not work, it just adds the font name to the list but does not change the paragraph's fontname reference.

    What piece of the puzzle am I missing? Any help is appreciated as always!

    Eric