Click or drag to resize
PMPageSize Class
Represents a paper size
Inheritance Hierarchy

Namespace: PM90SettingsAPI
Assembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax
C#
public class PMPageSize

The PMPageSize type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAvailablePageSizes
Get active page size list
Public methodStatic memberCreateNewSize
Returns new size, or existing size if Width\Height combination already exists
Public methodDelete
Deletes this page size. This object will become invalid to use in Page Sizes costs or restrictions
Public methodEdit
Edits the name and default cost for the current page size
Top
Properties
  NameDescription
Public propertyColorCostPerPage
The global color cost for this page size that applies when cost per page size is enabled.
Public propertyDatabaseID
The unique database identifier for this object
Public propertyHeight
Height in standard inches
Public propertyMonoCostPerPage
The global black and white cost for this page size that applies when cost per page size is enabled.
Public propertyName
Friendly page size name
Public propertyPageSizeID
Inique identifier of page size in database
Public propertyWidth
Width in standard inches
Top
Remarks
Dimensions are in inches by default
Examples
Example of adding and removing page size.
//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();
See Also