In addition, a text both conventional style, also has the bold style, I want to add the underline the passage, how to guarantee the premise of not changing the original font style to add an underscore,
CodePudding user response:
This is a more complex things, want to rely on choice of font related attributes to judge the font name, size and other properties,CodePudding user response:
A character RichEdit, background color, font color, font name, font size, font style1, in the RichEdit chose several characters: the SelLength=n
RichEdit1. SelAttributes. BackColor
RichEdit1. SelAttributes. Color
RichEdit1. SelAttributes. Name
RichEdit1. SelAttributes. Size
RichEdit1. SelAttributes. Style
2, in RichEdit not choose character, SelLength=0
RichEdit1. DefAttributes. BackColor
RichEdit1. DefAttributes. Color
RichEdit1. DefAttributes. Name
RichEdit1. DefAttributes. Size
RichEdit1. DefAttributes. Style
CodePudding user response:
I am using RxRichEdit, some powerful than RichEdit, at the moment, I solve this problem is judgment font, word by word set font word by word, when the content is large, slow, Windows 7's own tablet program can realize the function I have described, is there any way to speed up the processing speed?CodePudding user response:
RxRichEdit, even better than RichEdit, basic function usage,