I would like to be able to change the font information for each line in a wpfRTFText object dynamically through code, I assume that you need to select a range of text and then set the attributes, any help would be great
>> I would like to be able to change the font information for each line in a wpfRTFText object dynamically through code, I assume that you need to select a range of text and then set the attributes, any help would be great <<
The EnterTextEditorEvent gives you the new editor which is a TWPRichText (of WPTools) object.
Having this reference you can do all the manipulations possible in WPTools, such as SetSelPosLen, CurrAttr.Style := ... etc.
If this should not work with an editor better extract the RTF text into a seperate RTF editor and manipulate it there. Then pass it back (using LoadFromStream).