This question is locked. New answers and comments are not allowed.
HiRadDocument document = CreateDocument();
document.LayoutMode = DocumentLayoutMode.Paged;
document.DefaultPageLayoutSettings =
new
PageLayoutSettings(paperType);
document.SectionDefaultPageOrientation = PageOrientation.Landscape;
document.Measure(RadDocument.MAX_DOCUMENT_SIZE);
document.Arrange(
new
RectangleF(PointF.Empty, document.DesiredSize));
I am trying to export to PDF with the pdfformatprovider.
Even though i am setting the document orientation to Landscape - the print is always portrait.
here is the code snippet.
Thanks