11.9. Customizing Page Settings
We have already discussed PageSetupDialog, which allows us to adjust page settings. This is all taken care of by the dialog internally. But what if we need a custom page setup dialog? Sometimes we won’t want to use the default dialogs provided by Windows. For example, suppose we want to change the text of the dialog or don’t want the user to have page selection or anything else that is not available on the default Windows dialogs.
The System.Drawing.Printing namespace also defines functionality to manage page settings programmatically.
11.9.1. The PageSettings Class
Page settings are the properties of a page that are being used when a page is printed, including color, page margins, paper size, page bounds, and ...
Get Graphics Programming with GDI+ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.