Home Forums WinForms controls Xceed Grid for WinForms Print a grid control in landscape orientation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #16227 |

    Hello,

     I am trying to print an XCeed grid control in landscape orientation and having no luck.  I am using VB.NET and XCeed Grid for .NET v2.5.

    I have looked at the example program PrintGridVB but it does not actually print the grid in landscape when you choose it for the page settings either.  I have also tried the simple example in the XCeed documentation as follows:

    Dim print as New GridPrintDocument(GridControl1)

    print.DefaultPageSettings.Landscape = True

    print.Print()

     

    This did not work either.  It still prints the grid across the top of the page in Portrait orientation instead of ‘sideways’ in the Landscape orientation I am looking for.  Can anyone help me with this?  What do I need to do or what am I missing here?

     

    Thank you.
     

    Imported from legacy forums. Posted by Shannon (had 1593 views)

    User (Old forums)
    Member
    Post count: 23064

    This works fine in our latest version (3.7).  You are using a quite old version (2.5), so it is possible there was a bug in that version.

    Upgrade to the latest version to resolve the issue.

    Imported from legacy forums. Posted by André (had 970 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.