RadEditor Export to PDF with page numbers

2 posts, 0 answers
  1. Prathap Narravula
    Prathap Narravula avatar
    23 posts
    Member since:
    Apr 2010

    Posted 13 Jul 2015 Link to this post


    Dear Team,

    I am exporting RadEditor content into Pdf by using the below code.

    RadEditor1.ExportSettings.Pdf.PageLeftMargin = System.Web.UI.WebControls.Unit.Pixel(1);
    RadEditor1.ExportSettings.Pdf.PageLeftMargin = System.Web.UI.WebControls.Unit.Pixel(1);
    RadEditor1.ExportSettings.Pdf.PageTopMargin = System.Web.UI.WebControls.Unit.Pixel(1);
    RadEditor1.ExportSettings.Pdf.PageBottomMargin = System.Web.UI.WebControls.Unit.Pixel(1);
    RadEditor1.ExportSettings.Pdf.PaperSize = GridPaperSize.A4;
    RadEditor1.ExportSettings.Pdf.PageWidth = System.Web.UI.WebControls.Unit.Percentage(100);
    RadEditor1.ExportSettings.Pdf.PageHeaderMargin = System.Web.UI.WebControls.Unit.Pixel(1);        
    RadEditor1.ExportSettings.Pdf.ForceTextWrap = true;



    I need to print page number in every page of pdf(Page 1 of 10, Page 2 of 10).

    Please advice


    Thanks in advance,





  2. Ianko
    Ianko avatar
    1956 posts

    Posted 15 Jul 2015 Link to this post

    Hi Prathap,

    With the RadEditor's built-in PDF engine adding page numbers is not possible.

    However, you could be able to programmatically implement a solution by processing the output via PdfProcessing engine—http://docs.telerik.com/devtools/aspnet-ajax/controls/pdfprocessing/overview.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top