Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.
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.
|Whice version VisualStudio for new Dev Laptop?||10||41|
|Make borderless form movable by user||2||27|
|How to send the email using C# with embedded HTML TABLE||3||15|
Join the community of 500,000 technology professionals and ask your questions.