Default font and font size

2 posts, 0 answers
  1. Duncan
    Duncan avatar
    10 posts
    Member since:
    Jun 2008

    Posted 03 Aug 2011 Link to this post

    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.
  2. Stefan
    Stefan avatar
    2911 posts

    Posted 04 Aug 2011 Link to this post

    Hi Duncan,

    Thank you for writing.

    Please refer to the following code snippet, which gives you the desired functionality:
    RadDocument doc = new RadDocument();
    Section section = new Section();
    Paragraph paragraph = new Paragraph();
    paragraph.FontSize = 32;
    this.radRichTextBox1.Document = doc;

    I hope that you find this information useful.

    Best wishes,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top