Exporting to PDF

Print Topic | Close Window

By Ivy Linders - 7 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,
By Nevron Support - 7 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...