Hello,
I am using the newest WPF Controls Examples - Print and Export with RadDocument as a template for my project.
I need to print in US Legal (8.5 x 11) paper size, in landscape orientation and a smaller font using the WPF RadGridView as a source.
I have tried adding the following to the example code to change orientation and page size:
Also, I have a large amount of text/columns to include in the print so I need to lower my font size to get everything to fit.
I have tried adding the following code to the example to change the printed font size:
Any help would be most appreciated!
John
I am using the newest WPF Controls Examples - Print and Export with RadDocument as a template for my project.
I need to print in US Legal (8.5 x 11) paper size, in landscape orientation and a smaller font using the WPF RadGridView as a source.
I have tried adding the following to the example code to change orientation and page size:
RadDocument.SectionDefaultPageOrientation = PageOrientation.Landscape;and it does not work.
andRadRichTextBox.Document.SectionDefaultPageOrientation = PageOrientation.Landscape;
and
Section.PageSize = new Size() { Height = 11.0, Width = 8.5 };
Also, I have a large amount of text/columns to include in the print so I need to lower my font size to get everything to fit.
I have tried adding the following code to the example to change the printed font size:
RadRichTextBox.FontSize = 5.0;
and it does not work.Any help would be most appreciated!
John