|
Procedure Name
|
Type
|
Description
|
|
(Declarations)
|
Declarations
|
Declarations and private variables for the CPageSetupDialog class
|
|
Collate
|
Property
|
Returns whether collation is used when printing multiple copies
|
|
Color
|
Property
|
Returns whether colors are printed on color printers
|
|
Copies
|
Property
|
Gets the number of copies to print
|
|
DeviceName
|
Property
|
Gets the name of the printer
|
|
Duplex
|
Property
|
Returns whether double sided printing is enabled for printers capable of supporting it.
This property can have the following values:
PriSimplex
PriVertical
PriHorizontal
|
|
Flags
|
Property
|
Gets the flags used when displaying the Printer dialog.
The Flags property can have the following values:
PgsDefaultMinMargins - Specifies that the minimum margins allowed are the minimum margins supported by the printer.
PgsMinMargins - Causes the dialog to use the MarginMinLeft, MarginMinTop, MarginMinRight, and MarginMinBottom properties as the minimum margins.
PgsMargins - Causes the dialog to use the MarginLeft, MarginTop, MarginRight, and MarginBottom properties as the initial margin values.
PgsInThousandsOfInches - Causes the dialog to use thousands of inches for all measurements.
PgsInHundredsOfMillimeters - Causes the dialog to use hundrendths of millimeters for all measurements.
PgsDisableMargins - Disables the margin input controls.
PgsDisablePrinter - Disables the Printer button.
PgsNoWarning - Prevents the dialog from warning the user when there is no default printer.
PgsDisableOrientation - Disables the orientation radio buttons.
PgsReturnDefault - Does not display the dialog and retrieves information about the default printer.
PgsDisablePaper - Disables the paper size and source controls.
PgsShowHelp - Unsupported in this class
PgsEnablePageSetupHook - Unsupported in this class
PgsEnablePageSetupTemplate - Unsupported in this class
PgsEnablePateSetupTemplateHandle - Unsupported in this class
PgsEnablePagePaintHook - Unsupported in this class
PgsDisablePagePainting - Prevents the dialog from showing a sample page.
PgsNoNetworkButton - Disables the Network button.
Multiple flags can be specified using the following syntax:
PageSetupDialog.Flags = PgsMargins Or PgsMinMargins
|
|
hWndParent
|
Property
|
Gets the handle to the parent window
|
|
MarginBottom
|
Property
|
Gets the size of the bottom margin
|
|
MarginLeft
|
Property
|
Gets the size of the left margin
|
|
MarginMinBottom
|
Property
|
Gets the minimum size of the bottom margin allowed for printing
|
|
MarginMinLeft
|
Property
|
Gets the minimum size of the left margin allowed for printing
|
|
MarginMinRight
|
Property
|
Gets the minimum size of the right margin allowed for printing
|
|
MarginMinTop
|
Property
|
Gets the minimum size of the top margin allowed for printing
|
|
MarginRight
|
Property
|
Gets the size of the right margin
|
|
MarginTop
|
Property
|
Gets the size of the top margin
|
|
Orientation
|
Property
|
Gets the print orientation
This property can have the following values:
PriPortrait - The printed page is taller than it is wide.
PriLandscape - The printed page is wider than it is tall.
|
|
PaperLength
|
Property
|
Gets the length of the paper in tenths of a millimeter
|
|
PaperWidth
|
Property
|
Gets the width of the paper
|
|
PrintQuality
|
Property
|
Gets the print quality
This property can have the following values:
PriDraft
PriLow
PriMedium
PriHigh
|
|
PrintScale
|
Property
|
Gets the factor by which the printed output is scaled.
The logical page size is scaled from the physical page size by a factor of PrintScale/100. For example, an 8.5 by 11 inch page with a PrintScale of 50 would contain as much data as a page of 17- by 22-inches because the output would be half the original height and width.
|
|
TTOption
|
Property
|
Returns how true type fonts are printed
This property can have the following values:
PriBitmap - True type fonts are printed as graphics.
PriDownload - True type fonts are printed as soft fonts.
PriSubstitute - Device fonts are substituted with true type fonts.
|
|
YResolution
|
Property
|
Sets the Y resolution of the printer
|
|
Show
|
Method
|
Displays the page setup common dialog
|