Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsPageSetupDialogMBS class.

WindowsPageSetupDialogMBS.DN_DEFAULTPRN = 1

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
The flag for default printer on the SetDevNames/GetDevNames flag parameter.

WindowsPageSetupDialogMBS.PSD_DEFAULTMINMARGINS = &h00000000

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Sets the minimum values that the user can specify for the page margins to be the minimum margins allowed by the printer. This is the default. This flag is ignored if the PSD_MARGINS and PSD_MINMARGINS flags are also specified.

WindowsPageSetupDialogMBS.PSD_DISABLEMARGINS = &h00000010

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Disables the margin controls, preventing the user from setting the margins.

WindowsPageSetupDialogMBS.PSD_DISABLEORIENTATION = &h00000100

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Disables the orientation controls, preventing the user from setting the page orientation.

WindowsPageSetupDialogMBS.PSD_DISABLEPAPER = &h00000200

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Disables the paper controls, preventing the user from setting page parameters such as the paper size and source.

WindowsPageSetupDialogMBS.PSD_DISABLEPRINTER = &h00000020

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Obsolete.
Windows XP/2000: Disables the Printer button, preventing the user from invoking a dialog box that contains additional printer setup information.

WindowsPageSetupDialogMBS.PSD_INHUNDREDTHSOFMILLIMETERS = &h00000008

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Indicates that hundredths of millimeters are the unit of measurement for margins and paper size. The values in the Margin, MinMargin, and PaperSize members are in hundredths of millimeters. You can set this flag on input to override the default unit of measurement for the user's locale. When the function returns, the dialog box sets this flag to indicate the units used.

WindowsPageSetupDialogMBS.PSD_INTHOUSANDTHSOFINCHES = &h00000004

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Indicates that thousandths of inches are the unit of measurement for margins and paper size. The values in the Margin, MinMargin, and PaperSize members are in thousandths of inches. You can set this flag on input to override the default unit of measurement for the user's locale. When the function returns, the dialog box sets this flag to indicate the units used.

WindowsPageSetupDialogMBS.PSD_MARGINS = &h00000002

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Causes the system to use the values specified in the Margin members as the initial widths for the left, top, right, and bottom margins. If PSD_MARGINS is not set, the system sets the initial widths to one inch for all margins.

WindowsPageSetupDialogMBS.PSD_MINMARGINS = &h00000001

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Causes the system to use the values specified in the MinMargin members as the minimum allowable widths for the left, top, right, and bottom margins. The system prevents the user from entering a width that is less than the specified minimum. If PSD_MINMARGINS is not specified, the system sets the minimum allowable widths to those allowed by the printer.

WindowsPageSetupDialogMBS.PSD_NONETWORKBUTTON = &h00200000

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Hides and disables the Network button.

WindowsPageSetupDialogMBS.PSD_NOWARNING = &h00000080

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Prevents the system from displaying a warning message when there is no default printer.

WindowsPageSetupDialogMBS.PSD_RETURNDEFAULT = &h00000400

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

PageSetupDialog does not display the dialog box. Instead, it sets the DevNames and DevMode members to objects that are initialized for the system default printer. PageSetupDlg returns an error if either DevNames or DevMode is not nil.

WindowsPageSetupDialogMBS.PSD_SHOWHELP = &h00000800

Type Topic Plugin Version
const Printing MBS Win Plugin 12.1
One of the flag constants.

Causes the dialog box to display the Help button. The hwndOwner member must specify the window to receive the HELPMSGSTRING registered messages that the dialog box sends when the user clicks the Help button.

The items on this page are in the following plugins: MBS Win Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...