ChangeSectionPageOrientation() not work

1 posts, 0 answers
  1. kity
    kity avatar
    71 posts
    Member since:
    Mar 2012

    Posted 09 Sep 2014 Link to this post


    // 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;

    ..
     

Back to Top