PMPageSizeCreateNewSize Method |
Returns new size, or existing size if Width\Height combination already exists
Namespace: PM90SettingsAPIAssembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax public static PMPageSize CreateNewSize(
string name,
double width,
double height,
double defaultCostPerMonoPage,
double defaultCostPerColorPage
)
Parameters
- name
- Type: SystemString
Friendly name of size for reports - width
- Type: SystemDouble
Width in inches - height
- Type: SystemDouble
Height in inches - defaultCostPerMonoPage
- Type: SystemDouble
default currency cost per black and white page - defaultCostPerColorPage
- Type: SystemDouble
default currency cost per color page
Return Value
Type:
PMPageSizenew PMPageSize object
See Also