Hi
Is it possible to change the default font and font size? It always uses Calibri at size 12. I've changed the Font property on the ribbon and also on the RadRichTextBox as well but it still defaults to Calibri.
Thanks
Matthew
1 Answer, 1 is accepted
0
Stefan
Telerik team
answered on 04 Aug 2011, 04:01 PM
Hi Duncan,
Thank you for writing.
Please refer to the following code snippet, which gives you the desired functionality:
RadDocument doc = newRadDocument();
Section section = newSection();
Paragraph paragraph = newParagraph();
paragraph.FontSize = 32;
section.Blocks.Add(paragraph);
doc.Sections.Add(section);
this.radRichTextBox1.Document = doc;
I hope that you find this information useful.
Best wishes,
Stefan
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>