Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

RadEditor Export to PDF with page numbers

$
0
0

 

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;

RadEditor1.ExportToPdf();

 

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

Please advice

 

Thanks in advance,

Prathap

 

 

 


Viewing all articles
Browse latest Browse all 94857

Latest Images

Trending Articles



Latest Images