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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    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

This function is free to use.

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


PrintDialog.SetPaperName - PrintDialog.SetPrintToPDF

💬 Ask a question or report a problem