This is a migrated thread and some comments may be shown as answers.

ChangeSectionPageOrientation() not work

0 Answers 30 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
kity
Top achievements
Rank 2
kity asked on 09 Sep 2014, 07:17 AM

// This is totaly not not work
RadRichTextBox.ChangeSectionPageOrientation(PageOrientation.Landscape);
1. Make simple application
2. Set Document of RadRichTextBox
3. Set print orientationthis.RadRichTextBox.Document = myDocumentGenOutput;

this.RadRichTextBox.AllowScaling = true;      this.RadRichTextBox.ChangeSectionPageOrientation(PageOrientation.Landscape);           
this.RadRichTextBox.Print(this.PrintOptions);  4. Result -> Printed page is not Portrait not Landscape6. myDocumentGenOutput: RadDocument is generate with

set correct Orientation 
myDocumentGenOutput.Orientation = PageOrientation.Landscape;

..
 

No answers yet. Maybe you can help?

Tags
RichTextBox
Asked by
kity
Top achievements
Rank 2
Share this question
or