public class PageInfo extends Object implements com.aspose.ms.System.ICloneable
Represents the page information for pdf generator.
Constructor and Description |
---|
PageInfo()
default constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clone page info.
|
MarginInfo |
getAnyMargin()
Gets or sets page margin for any page except first.
|
TextState |
getDefaultTextState()
Gets default font.
|
double |
getHeight()
Gets 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 |
setAnyMargin(MarginInfo value)
Gets or sets page margin for any page except first.
|
void |
setDefaultTextState(TextState value)
Sets default font.
|
void |
setHeight(double value)
Sets page height.
|
void |
setLandscape(boolean value)
Sets is page landscaped.
|
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 final MarginInfo getAnyMargin()
Gets or sets page margin for any page except first.
public final void setAnyMargin(MarginInfo value)
Gets or sets page margin for any page except first.
value
- MarginInfo instancepublic TextState getDefaultTextState()
Gets default font.
public void setDefaultTextState(TextState value)
Sets default font.
value
- TextState instancepublic double getHeight()
Gets page height.
public final void setHeight(double value)
Sets page height.
value
- double valuepublic double getPureHeight()
Gets page pure height without margins.
public boolean isLandscape()
Gets is page landscaped.
public void setLandscape(boolean value)
Sets is page landscaped.
value
- boolean valuepublic MarginInfo getMargin()
Gets page margin.
public void setMargin(MarginInfo value)
Sets page margin.
value
- MarginInfo valuepublic double getWidth()
Gets page width.
public void setWidth(double value)
Sets page width.
value
- double value