Exporting to PDF


https://www.nevron.com/Forum/Topic8788.aspx
Print Topic | Close Window

By Ivy Linders - 10 Years Ago
    I want to export rtf converted to PDF however I was not able to find how to modify the page size and orientation when exporting to PDF.

    Can you please assist me!

    Thanks in advance,
    Ivy.
By Nevron Support - 10 Years Ago
Hi Ivy,

The page size is controlled per section (as the control supports different page sizes per document) and is accessible from the page size property - for example:
section.PageSize = new NPageSize(ENPaperKind.A4);
You can also take a look at the following example:
Text Editor \ Sections \ Pages.

Hope this helps - let us know if have any questions...