
TCustomRichViewEdit.OnStyleConversionĮxecuting ApplyStyleConversion The method occurs. If you want to keep Text protection,please at OnStyleConversion This option is checked in the event.

This method ignores any Text protection,even though rvprStyleProtect Contains the style of existing text items ProtectionIt can also change the text style.

Using this method, you can implement commands such as "Bao" or "Change Font Name". This method calls for each selected text item and current text style OnStyleConversion event. Recursive FalseDo not call the cells of the selected form OnStyleConversion(Except for the multi-cell selection in a single table). UserData Towards OnStyleConversionPassage TCustomRichViewEdit.ApplyStyleConversion procedure ApplyStyleConversion(UserData: Integer Recursive: Boolean = True) Īpply the custom conversion process to the selected Text project、 Tabs、 Label item(And all types of projects inherited from label project). If you want to achieve commands such as "Bao", "Change Text Color", "Apply Font", please use ApplyStyleConversionInstead of this method. If the existing text item ProtectionIn the style of rvprStyleProtectThen, this method does not change its style.

If you choose not empty, the method changes the selected content. TCustomRichViewEdit.CurTextStyleNoSet as TextStyleNo. This method is only empty if you choose to be empty. TextStyleNo Index in text style collection ( Style.TextStyles)。 TrichView Change Select Content Fonts method TCustomRichViewEdit.ApplyTextStyle procedure ApplyTextStyle(TextStyleNo: Integer) Īpply the specified text style to the selected item ( Text project、 Tabs、 Label item)
