public class PageInfo extends Object implements com.aspose.ms.System.ICloneable
Represents the page information.
Constructor and Description |
---|
PageInfo() |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clone page info.
|
TextState |
getDefaultTextState()
Gets default font.
|
double |
getHeight()
Gets or sets page height.
|
MarginInfo |
getMargin()
Gets page margin.
|
double |
getPureHeight()
Gets page pure height without margins.
|
double |
getWidth()
Gets page width.
|
boolean |
isLandscape()
Gets is page landscaped.
|
void |
isLandscape(boolean value)
Sets is page landscaped.
|
void |
setDefaultTextState(TextState value)
Sets default font.
|
void |
setHeight(double value)
Sets or sets page height.
|
void |
setMargin(MarginInfo value)
Sets page margin.
|
void |
setWidth(double value)
Sets page width.
|
public Object deepClone()
Clone page info.
deepClone
in interface com.aspose.ms.System.ICloneable
public TextState getDefaultTextState()
Gets default font.
public void setDefaultTextState(TextState value)
Sets default font.
value
- TextState valuepublic double getHeight()
public void setHeight(double value)
public double getPureHeight()
Gets page pure height without margins.
public boolean isLandscape()
public void isLandscape(boolean value)
public MarginInfo getMargin()
public void setMargin(MarginInfo value)
public double getWidth()
public void setWidth(double value)
Copyright © 2017 Aspose. All Rights Reserved.