Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

PrintDialog.SetPaperWidth

Sets paper width to use.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 11.3 ✅ Yes ❌ No ❌ No ❌ No ❌ No

Deprecated

This function was deprecated. Use PageSetupDialog.SetPaperWidth instead.

MBS( "PrintDialog.SetPaperWidth"; Value )   More

Parameters

Parameter Description Example
Value The new value.
Unit is in 72 dpi.
e.g. 10 cm is 10 / 2.54 * 72 = 283 point.
300

Result

Returns OK or error.

Description

Sets paper width to use.
If paper width and height are both set, we pass this to the dialog for a custom paper size.
Value is -1 if not set.

Deprecated in favor of PageSetupDialog.SetPaperWidth since FileMaker seems to ignore paper changes in the print dialog.

See also

This function is free to use.

Created 27th June 2021, last changed 27th June 2021


PrintDialog.SetPaperName - PrintDialog.SetPrintToPDF