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

PageSetupDialog.SetOption

Sets an option.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 9.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "PageSetupDialog.SetOption"; Key; Value { ; Type } )   More

Parameters

Parameter Description Example Flags
Key The key to use.
Value The value to use.
Depending on data type, the plugin will pass a number or a text.
3
Type The type of data to add.
Default is empty to use type of value passed. So text or number type would be picked automatically.
Valid values for type are text, number, integer and text.
Integer is for integer numbers while number is for floating numbers.
Optional

Result

Returns OK or error.

Description

Sets an option.
You can use PrintDialog.GetLastSettings after printing to query XML with all settings and pick keys and values.

See also

This function checks for a license.

Created 20th April 2019, last changed 14th July 2022


PageSetupDialog.SetNoDialog - PageSetupDialog.SetPaperHeight