Make Your Microsoft Dynamics Investment Count & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.
PageSetupDialog dlg = new PageSetupDialog(); dlg.Document = doc; //in this case, 'doc' is a PrintDocument dlg.AllowOrientation = true; //this does not work!!! //if the following line is un-commented, the orientation can be changed, but it defaults to //landscape, which is unacceptable for my project. //dlg.PageSettings.Landscape = true; dlg.EnableMetric = true; dlg.ShowDialog();
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.