Custom paper size

2 posts, 0 answers
  1. Mads Jepsen
    Mads Jepsen avatar
    1 posts
    Member since:
    Sep 2012

    Posted 19 Sep 2012 Link to this post


    How can i add a custom papersize to papersizes ?
    or use ChangePageSize t0 600*300 pixels

    Best regards 

  2. Stefan
    Stefan avatar
    2891 posts

    Posted 24 Sep 2012 Link to this post

    Hello Mads.

    Thank you for writing.

    I assume that you want to modify the page size of RadRichTextBox. If so, please refer to the following documentation article which explains how to do it. Additionally, here is a snippet that will set the page size to 600x300:
    void radButton1_Click(object sender, EventArgs e)
        radRichTextBox1.Document.LayoutMode = DocumentLayoutMode.Paged;
        radRichTextBox1.Document.DefaultPageLayoutSettings.Width = 300;

    I hope this helps.
    Kind regards,
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. DevCraft banner
Back to Top