All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
I’d like to change page size and page orientation for export RadChart to PDF. Is it possible?
In example for export to PDF is conversion to PNG and then export to PDF document. Is there possibility to export vector graphic directly to PDF?
Regards
RadDocument document =
new
RadDocument();
document.DefaultPageLayoutSettings.Height = 1200;
document.DefaultPageLayoutSettings.Width = 800;
document.SectionDefaultPageMargin =
Telerik.Windows.Documents.Layout.Padding(30, 30, 0, 0);
document.LayoutMode = DocumentLayoutMode.Paged;
this
.CreateChartDocumentPart(document);
.CreateGridDocumentPart(document);
return
document;