Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1075
Grid Orientation
posted

 Hi!

Is it possible to set Grid orientation (Portrain/Landscape) before Printing or Exporting to PDF? We have all our grids to be printed Landscape and don't want to bother user to change orientation manually every time.

Parents
No Data
Reply
  • 19380
    Verified Answer
    posted

    Hi,

    Does this post answer your use case?

    http://news.infragistics.com/forums/t/11906.aspx

    If you are using the UltraGridPrintDocument, this should set the orientation:

            private void ultraGridPrintDocument1_QueryPageSettings(object sender, System.Drawing.Printing.QueryPageSettingsEventArgs e)
            {
                e.PageSettings.Landscape = true;
            }

    Let me know if this help,

    Thanks

    Jason

     

Children