I have applied a RadRichTextBox in my application. But i m facing a problem that there is default font size is 12. I Want to reduce the font size on runtime application.
Can anyone suggest me for this problem.
1 Answer, 1 is accepted
answered on 17 Mar 2011, 09:58 AM
Hi Chandra Prakash,
You can use the FontSize property of the rich text box to alter the default font size used in the control. If you are using this approach you will also have to set the DocumentInheritsDefaultStyleSettings to true. Here is an example:
You can also change the font size runtime, using the IncrementFontSize and DecrementFontSize methods in the RadRichTextBox. Here is a sample button event handler that will decrease the font size of the entire document: