Hi,
I am using RadGrid for ASP.NET. It contains a function to export data to PDF. I could achieve most of what I want but it seems it is not possible to change the font size and style of PageTitle.
Any help or comment is welcome.
The code snippet of the code-behind is shown below.
radGrid.ExportSettings.Pdf.Title = "My Data"
radGrid.ExportSettings.Pdf.Subject = "My Data";
radGrid.ExportSettings.Pdf.PageTitle = "This is a page title"
radGrid.ExportSettings.Pdf.PageWidth = Unit.Parse("297mm");
radGrid.ExportSettings.Pdf.PageHeight = Unit.Parse("210mm");
radGrid.ExportSettings.Pdf.PageLeftMargin = Unit.Pixel(15);
radGrid.ExportSettings.Pdf.PageRightMargin = Unit.Pixel(15);
radGrid.ExportSettings.Pdf.DefaultFontFamily = "Segoe UI";
radGrid.ExportSettings.Pdf.AllowModify = false;
radGrid.ExportSettings.Pdf.FontType = Telerik.Web.Apoc.Render.Pdf.FontType.Embed;
radGrid.ExportSettings.Pdf.ForceTextWrap = true;
radGrid.ExportSettings.UseItemStyles = true;
I am using RadGrid for ASP.NET. It contains a function to export data to PDF. I could achieve most of what I want but it seems it is not possible to change the font size and style of PageTitle.
Any help or comment is welcome.
The code snippet of the code-behind is shown below.
radGrid.ExportSettings.Pdf.Title = "My Data"
radGrid.ExportSettings.Pdf.Subject = "My Data";
radGrid.ExportSettings.Pdf.PageTitle = "This is a page title"
radGrid.ExportSettings.Pdf.PageWidth = Unit.Parse("297mm");
radGrid.ExportSettings.Pdf.PageHeight = Unit.Parse("210mm");
radGrid.ExportSettings.Pdf.PageLeftMargin = Unit.Pixel(15);
radGrid.ExportSettings.Pdf.PageRightMargin = Unit.Pixel(15);
radGrid.ExportSettings.Pdf.DefaultFontFamily = "Segoe UI";
radGrid.ExportSettings.Pdf.AllowModify = false;
radGrid.ExportSettings.Pdf.FontType = Telerik.Web.Apoc.Render.Pdf.FontType.Embed;
radGrid.ExportSettings.Pdf.ForceTextWrap = true;
radGrid.ExportSettings.UseItemStyles = true;