PageSetupDialog.SetScalingFactor
--------------------------------

Sets scaling factor.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [PrintDialog](component_PrintDialog.md) | [9.2](newinversion92.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "PageSetupDialog.SetScalingFactor"; Value ) 

**MBS**( **"PageSetupDialog.SetScalingFactor";** /\* Sets scaling factor. \*/  
**$Value**) /\* The new scale factor.e.g. 1.0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new scale factor. | 1.0 |

### Result

Returns OK or error.

### Description

Sets scaling factor.  
If zero, we don't change it.  
Value is 1.0 for 100%.  
You need to run paper setup dialog to let the plugin change values.  
### Examples

Set scaling to 150%:

 Set Variable \[ $r ; Value: MBS ("PageSetupDialog.SetScalingFactor"; 1,5) \]  
### See also

- [PageSetupDialog.GetScalingFactor](PageSetupDialogGetScalingFactor.md)

### Example Databases

- [Mac only/Print/Page Setup Dialog on Mac](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/Print/Page%20Setup%20Dialog%20on%20Mac.shtml#3ScriptAnchor_)

This function checks for a license.

Created 20th April 2019 , last changed 20th April 2019

  
[PageSetupDialog.SetPrinterName](PageSetupDialogSetPrinterName.md) - [Path.AddPathComponent](PathAddPathComponent.md)

[HTML Version](PageSetupDialogSetScalingFactor.shtml)