PMPageSize Class |
Namespace: PM90SettingsAPI
public class PMPageSize
The PMPageSize type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AvailablePageSizes |
Get active page size list
|
![]() ![]() | CreateNewSize |
Returns new size, or existing size if Width\Height combination already exists
|
![]() | Delete |
Deletes this page size. This object will become invalid to use in Page Sizes costs or restrictions
|
![]() | Edit |
Edits the name and default cost for the current page size
|
Name | Description | |
---|---|---|
![]() | ColorCostPerPage |
The global color cost for this page size that applies when cost per page size is enabled.
|
![]() | DatabaseID |
The unique database identifier for this object
|
![]() | Height |
Height in standard inches
|
![]() | MonoCostPerPage |
The global black and white cost for this page size that applies when cost per page size is enabled.
|
![]() | Name |
Friendly page size name
|
![]() | PageSizeID |
Inique identifier of page size in database
|
![]() | Width |
Width in standard inches
|
//Create a new size that doesn't exist PMPageSize squareEnv = PMPageSize.CreateNewSize("Square", 5.0, 5.0, .05, .10); //Edit Size squareEnv.Edit("Square Env.", squareEnv.MonoCostPerPage, squareEnv.ColorCostPerPage); //Delete size squareEnv.Delete();