I want to create the RadFlowDocument in Landscape. I used the Section. But I don't know how to use Section to insert text and insert line. Is there a easy way to change the whole document to Landscape mode?
Currently, I only find a full example of using editor.InsertText and editor.InsertLine. So, I am using the same method. Adding section could only change the margin, not the page orientation for whole document.
Section section = new Section(doc);
doc.Sections.Add(section);
section.PageMargins = new Telerik.Windows.Documents.Primitives.Padding(40, 40, 40, 40);
section.PageOrientation = PageOrientation.Landscape;
section.Rotate(PageOrientation.Landscape);
editor.InsertLine...
Thanks.