By default, true when a PageSetupDialog object is created. Indicates whether the margins section of the dialog box is enabled. ![]() ![]() Listing 11.29 creates a PageSetupDialog object, sets its properties, calls ShowDialog, and prints the document. All of these properties have both get the set options.Īs with PrintDialog, the PageSetupdialog class has a Reset method that resets all the default values for the dialog. Table 11.8 describes the properties of the PageSetupDialog class. Users can also set a PageSettings object through PageSetupDialog's PageSettings property. This class represents a standard Windows page setup dialog that allows users to manipulate page settings, including margins and paper orientation. The PageSetupDialog class represents the PageSetupDialog control in the. ![]() This article has been excerpted from book "Graphics Programming with GDI+".
0 Comments
Leave a Reply. |