Hello,
I am having trouble centering a RadGrids header when exporting to PDF. If you take a look at the attached file, my table in the header is not aligned. Are you able to adjust the margin within the header?
Here are my export settings for the pdf
EadradGrid.ExportSettings.Pdf.PageWidth = Unit.Parse(
"210mm"
);
EadradGrid.ExportSettings.Pdf.PageHeader.LeftCell.Text =
" "
;
EadradGrid.ExportSettings.Pdf.PageHeader.MiddleCell.Text = headerLeftCell;
EadradGrid.ExportSettings.Pdf.PageHeader.RightCell.Text =
" "
;
EadradGrid.ExportSettings.Pdf.PageRightMargin = Unit.Parse(
"20mm"
);
EadradGrid.ExportSettings.Pdf.PageLeftMargin = Unit.Parse(
"20mm"
);
It seems that the PageRightMargin and PageLeftMargin only affect the body of the PDF and not the Header.