Greetings all,
I have just discovered the margin properties in the PDFSettings sub-category of the RadClientExportManager.
Using the left & right margins, I could address some of my concerns as to how close the edge of the export comes to the edge of the displayed area, I cannot seem to make the bottom margin value work.
Across my exports, I am using:
RadClientExportManager1.PdfSettings.MarginLeft = "15"
RadClientExportManager1.PdfSettings.MarginRight = "15"
RadClientExportManager1.PdfSettings.MarginBottom = "30"
Can anyone let me know if there is a problem in setting the bottom margin, or any of the margins? Or even how the inner workings of the control handles blank space or padding around the indicated div?
Thanks in advance!
Hi Adam,
Can you please try setting the margin on the client side to numeric values, prior to exporting the pdf and see if this will produce the desired result:
var exportManager = $find("<%= RadClientExportManager1.ClientID %>"); exportManager.get_pdfSettings().margin = { left: 15, bottom: 30, right: 15 }; exportManager.exportPDF("#elementForExporting")
Hi Doncho,
Apologies for the delay in responding - I have just circled back to another page with a similar problem and recalled your above comment.
This definitely worked - thanks for the assist!