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

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

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

Class represents header or footer pdf page.

## Constructors

| Constructor | Description |
| --- | --- |
| [HeaderFooter](#HeaderFooter--) | Default ctor |

## Methods

| Method | Description |
| --- | --- |
| [deepClone](#deepClone--) | Clones a new object. |
| [getMargin](#getMargin--) | Gets the margin info. |
| [getParagraphs](#getParagraphs--) | Gets or sets the end note paragraphs. |
| [isClipExtraContent](#isClipExtraContent--) | Gets or sets is clip extra content. |
| [setClipExtraContent](#setClipExtraContent-boolean-) | Gets or sets is clip extra content. |
| [setMargin](#setMargin-com.aspose.pdf.MarginInfo-) | Sets the margin info. |
| [setParagraphs](#setParagraphs-com.aspose.pdf.Paragraphs-) | Gets or sets the end note paragraphs. |

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

Default ctor

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

Clones a new object.

**Returns:**
The new object.

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

Gets the margin info.

**Returns:**
MarginInfo value

### getParagraphs {#getParagraphs--}
```
public final Paragraphs getParagraphs()
```

Gets or sets the end note paragraphs.

**Returns:**
Paragraphs instance

### isClipExtraContent {#isClipExtraContent--}
```
public final boolean isClipExtraContent()
```

Gets or sets is clip extra content.

**Returns:**
boolean value

### setClipExtraContent {#setClipExtraContent-boolean-}
```
public final void setClipExtraContent(boolean value)
```

Gets or sets is clip extra content.

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

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

### setParagraphs {#setParagraphs-com.aspose.pdf.Paragraphs-}
Gets or sets the end note paragraphs.
