Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsPageSetupDialogMBS class.

WindowsPageSetupDialogMBS.DevMode as WindowsDeviceModeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The device mode object.

On input, if an object is specified, the values in the corresponding DEVMODE structure are used to initialize the controls in the dialog box. On output, the dialog box sets DevMode to a new object that contains values specifying the user's selections. If the user's selections are not available, the dialog box sets DevMode to nil.
(Read and Write property)

WindowsPageSetupDialogMBS.Flags as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
A set of bit flags that you can use to initialize the Page Setup dialog box.

When the dialog box returns, it sets these flags to indicate the user's input.
See the PSD_* constants for possible values.
(Read and Write property)

WindowsPageSetupDialogMBS.Lasterror as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The last error code.

(Read and Write property)

WindowsPageSetupDialogMBS.MarginBottom as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The widths of the bottom margin.

If you set the PSD_MARGINS flag, rtMargin specifies the initial margin values. When PageSetupDlg returns, rtMargin contains the margin widths selected by the user. The PSD_INHUNDREDTHSOFMILLIMETERS or PSD_INTHOUSANDTHSOFINCHES flag indicates the units of measurement.
(Read and Write property)

WindowsPageSetupDialogMBS.MarginLeft as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The widths of the left margin.

If you set the PSD_MARGINS flag, rtMargin specifies the initial margin values. When PageSetupDlg returns, rtMargin contains the margin widths selected by the user. The PSD_INHUNDREDTHSOFMILLIMETERS or PSD_INTHOUSANDTHSOFINCHES flag indicates the units of measurement.
(Read and Write property)

WindowsPageSetupDialogMBS.MarginRight as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The widths of the right margin.

If you set the PSD_MARGINS flag, rtMargin specifies the initial margin values. When PageSetupDlg returns, rtMargin contains the margin widths selected by the user. The PSD_INHUNDREDTHSOFMILLIMETERS or PSD_INTHOUSANDTHSOFINCHES flag indicates the units of measurement.
(Read and Write property)

WindowsPageSetupDialogMBS.MarginTop as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The widths of the top margin.

If you set the PSD_MARGINS flag, rtMargin specifies the initial margin values. When PageSetupDlg returns, rtMargin contains the margin widths selected by the user. The PSD_INHUNDREDTHSOFMILLIMETERS or PSD_INTHOUSANDTHSOFINCHES flag indicates the units of measurement.
(Read and Write property)

WindowsPageSetupDialogMBS.MinMarginBottom as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The minimum allowable widths for the bottom margin.

The system ignores this member if the PSD_MINMARGINS flag is not set. These values must be less than or equal to the values specified in the Margin* member. The PSD_INTHOUSANDTHSOFINCHES or PSD_INHUNDREDTHSOFMILLIMETERS flag indicates the units of measurement.
(Read and Write property)

WindowsPageSetupDialogMBS.MinMarginLeft as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The minimum allowable widths for the left margin.

The system ignores this member if the PSD_MINMARGINS flag is not set. These values must be less than or equal to the values specified in the Margin* member. The PSD_INTHOUSANDTHSOFINCHES or PSD_INHUNDREDTHSOFMILLIMETERS flag indicates the units of measurement.
(Read and Write property)

WindowsPageSetupDialogMBS.MinMarginRight as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The minimum allowable widths for the right margin.

The system ignores this member if the PSD_MINMARGINS flag is not set. These values must be less than or equal to the values specified in the Margin* member. The PSD_INTHOUSANDTHSOFINCHES or PSD_INHUNDREDTHSOFMILLIMETERS flag indicates the units of measurement.
(Read and Write property)

WindowsPageSetupDialogMBS.MinMarginTop as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The minimum allowable widths for the top margin.

The system ignores this member if the PSD_MINMARGINS flag is not set. These values must be less than or equal to the values specified in the Margin* member. The PSD_INTHOUSANDTHSOFINCHES or PSD_INHUNDREDTHSOFMILLIMETERS flag indicates the units of measurement.
(Read and Write property)

WindowsPageSetupDialogMBS.PaperSizeX as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The dimensions of the paper selected by the user.

The PSD_INTHOUSANDTHSOFINCHES or PSD_INHUNDREDTHSOFMILLIMETERS flag indicates the units of measurement.
(Read and Write property)

WindowsPageSetupDialogMBS.PaperSizeY as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The dimensions of the paper selected by the user.

The PSD_INTHOUSANDTHSOFINCHES or PSD_INHUNDREDTHSOFMILLIMETERS flag indicates the units of measurement.
(Read and Write property)

WindowsPageSetupDialogMBS.Parent as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Printing MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The window that owns the dialog box.

This member can be any valid window, or it can be nil if the dialog box has no owner.
Can reference a Window or DesktopWindow object.
(Read and Write property)

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


The biggest plugin in space...