Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
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();