PrintDialog.GetPaperWidth
-------------------------

Queries paper width to set.

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

### Deprecated

This function was [deprecated](deprecated.md). Use [PageSetupDialog.GetPaperWidth](PageSetupDialogGetPaperWidth.md) instead.

MBS( "PrintDialog.GetPaperWidth" ) ### Parameters

none

### Result

Returns number or error.

### Description

Queries paper width to set.  
Value is -1 if not set.  
Use [PrintDialog.SetPaperWidth](PrintDialogSetPaperWidth.md) to set this.  
### See also

- [PageSetupDialog.GetPaperWidth](PageSetupDialogGetPaperWidth.md)
- [PrintDialog.GetPaperHeight](PrintDialogGetPaperHeight.md)
- [PrintDialog.GetPaperName](PrintDialogGetPaperName.md)
- [PrintDialog.SetPaperHeight](PrintDialogSetPaperHeight.md)
- [PrintDialog.SetPaperName](PrintDialogSetPaperName.md)
- [PrintDialog.SetPaperWidth](PrintDialogSetPaperWidth.md)

This function is free to use.

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

  
[PrintDialog.GetPaperName](PrintDialogGetPaperName.md) - [PrintDialog.GetPrintToPDF](PrintDialogGetPrintToPDF.md)

[HTML Version](PrintDialogGetPaperWidth.shtml)