aspose.diagram
Class PrintPageOrientation

Determines whether the page is printed in portrait or landscape orientation.

Example:

var aspose = aspose || {};
aspose.diagram = require("aspose.diagram");

diagram = new aspose.diagram.Diagram("Pages.vsdx");

// get Visio page
page = diagram.getPages().getPage("Flow 1");
// page orientation
page.getPageSheet().getPrintProps().getPrintPageOrientation().setValue(aspose.diagram.PrintPageOrientationValue.LANDSCAPE);

diagram.save("out-SetPageOrientation.vsdx", aspose.diagram.SaveFileFormat.VSDX);

Constructor Summary
PrintPageOrientation(pp, value)
           Constructor.
 
Property Getters/Setters Summary
functiongetUfe()
           Specifies attributes of an element.
functiongetValue()
functionsetValue(value)
           Determines whether the page is printed in portrait or landscape orientation. The value of the property is PrintPageOrientationValue integer constant.
 
Method Summary
functionequals(value)
           Are objects equal.
functionhashCode()
           Serves as a hash function for a particular type.
 

Constructor Detail

PrintPageOrientation

function PrintPageOrientation(pp, value)
Constructor.
Parameters:
value: Number - A PrintPageOrientationValue value.

Property Getters/Setters Detail

getValue/setValue : Number 

function getValue() / function setValue(value)
Determines whether the page is printed in portrait or landscape orientation. The value of the property is PrintPageOrientationValue integer constant.

getUfe : UnitFormulaErr 

function getUfe()
Specifies attributes of an element.

Method Detail

equals

function equals(value)
Are objects equal.
Parameters:
value: Object -
Returns:

hashCode

function hashCode()
Serves as a hash function for a particular type.
Returns:

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