aspose.diagram
Class PageSize

Contains information about page size for the generated images.

Constructor Summary
PageSize(paperSizeFormat)
           Initializes a new instance of this class that can be used to set page size for the generated images.
PageSize(width, height)
           Initializes a new instance of this class that can be used to set page size for the generated images.
 
Property Getters/Setters Summary
functiongetHeight()
functionsetHeight(value)
           Gets or sets the page height in points for the the generated images.
functiongetPaperSizeFormat()
functionsetPaperSizeFormat(value)
           Gets or sets the paper size format for the generated images. Can be PaperSizeFormat. The value of the property is PaperSizeFormat integer constant.
functiongetWidth()
functionsetWidth(value)
           Gets or sets the page width in points for the the generated images.
 

Constructor Detail

PageSize

function PageSize(paperSizeFormat)
Initializes a new instance of this class that can be used to set page size for the generated images.
Parameters:
paperSizeFormat: Number - A PaperSizeFormat value. Can be PaperSizeFormat.

PageSize

function PageSize(width, height)
Initializes a new instance of this class that can be used to set page size for the generated images.
Parameters:
width: Number - Page width in points for the the generated images.
height: Number - Page height in points for the the generated images.

Property Getters/Setters Detail

getWidth/setWidth : Number 

function getWidth() / function setWidth(value)
Gets or sets the page width in points for the the generated images. The value must be > 0. If Width is set, Height must be set too.

getHeight/setHeight : Number 

function getHeight() / function setHeight(value)
Gets or sets the page height in points for the the generated images. The value must be > 0. If Height is set,Width must be set too.

getPaperSizeFormat/setPaperSizeFormat : Number 

function getPaperSizeFormat() / function setPaperSizeFormat(value)
Gets or sets the paper size format for the generated images. Can be PaperSizeFormat. The value of the property is PaperSizeFormat integer constant.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.