Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


PrintDialog.SetPaperName - PrintDialog.SetPrintToPDF

Feedback: Report problem or ask question.