**Inheritance:**
java.lang.Object, com.aspose.pdf.PageInfo

**All Implemented Interfaces:**
com.aspose.ms.System.ICloneable

```
public class PageInfo extends Object implements com.aspose.ms.System.ICloneable
```

Represents the page information for pdf generator.

## Constructors

| Constructor | Description |
| --- | --- |
| [PageInfo](#PageInfo--) | default constructor |

## Methods

| Method | Description |
| --- | --- |
| [deepClone](#deepClone--) | Clone page info. |
| [getAnyMargin](#getAnyMargin--) | Gets or sets page margin for any page except first. |
| [getDefaultTextState](#getDefaultTextState--) | Gets default font. |
| [getHeight](#getHeight--) | Gets page height. |
| [getMargin](#getMargin--) | Gets page margin. |
| [getPureHeight](#getPureHeight--) | Gets page pure height without margins. |
| [getWidth](#getWidth--) | Gets page width. |
| [isLandscape](#isLandscape--) | Gets is page landscaped. |
| [setAnyMargin](#setAnyMargin-com.aspose.pdf.MarginInfo-) | Gets or sets page margin for any page except first. |
| [setDefaultTextState](#setDefaultTextState-com.aspose.pdf.TextState-) | Sets default font. |
| [setHeight](#setHeight-double-) | Sets page height. |
| [setLandscape](#setLandscape-boolean-) | Sets is page landscaped. |
| [setMargin](#setMargin-com.aspose.pdf.MarginInfo-) | Sets page margin. |
| [setWidth](#setWidth-double-) | Sets page width. |

### PageInfo {#PageInfo--}
```
public PageInfo()
```

default constructor

### deepClone {#deepClone--}
```
public Object deepClone()
```

Clone page info.

**Returns:**
The cloned object

### getAnyMargin {#getAnyMargin--}
```
public final MarginInfo getAnyMargin()
```

Gets or sets page margin for any page except first.

**Returns:**
MarginInfo instance

### getDefaultTextState {#getDefaultTextState--}
```
public TextState getDefaultTextState()
```

Gets default font.

**Returns:**
TextState instance

### getHeight {#getHeight--}
```
public double getHeight()
```

Gets page height.

**Returns:**
double value

### getMargin {#getMargin--}
```
public MarginInfo getMargin()
```

Gets page margin.

**Returns:**
MarginInfo value

### getPureHeight {#getPureHeight--}
```
public double getPureHeight()
```

Gets page pure height without margins.

**Returns:**
double value

### getWidth {#getWidth--}
```
public double getWidth()
```

Gets page width.

**Returns:**
double value

### isLandscape {#isLandscape--}
```
public boolean isLandscape()
```

Gets is page landscaped.

**Returns:**
boolean value

### setAnyMargin {#setAnyMargin-com.aspose.pdf.MarginInfo-}
Gets or sets page margin for any page except first.

### setDefaultTextState {#setDefaultTextState-com.aspose.pdf.TextState-}
Sets default font.

### setHeight {#setHeight-double-}
```
public final void setHeight(double value)
```

Sets page height.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | double value |

### setLandscape {#setLandscape-boolean-}
```
public void setLandscape(boolean value)
```

Sets is page landscaped.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | boolean value |

### setMargin {#setMargin-com.aspose.pdf.MarginInfo-}
Sets page margin.

### setWidth {#setWidth-double-}
```
public void setWidth(double value)
```

Sets page width.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | double value |
