Class HeaderFooter
Represents a container for the header or footer text of a section.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class HeaderFooter : Story, IEnumerable<Node>, IEnumerable
Properties
HeaderFooterType
Gets or sets header footer type.
Declaration
public HeaderFooterType HeaderFooterType { get; }
Property Value
| Type | Description |
|---|---|
| HeaderFooterType |
IsHeader
Gets or sets is header.
Declaration
public bool IsHeader { get; }
Property Value
| Type | Description |
|---|---|
| bool |
NodeType
Gets node type.
Declaration
public override NodeType NodeType { get; }
Property Value
| Type | Description |
|---|---|
| NodeType |
Overrides
ParentSection
Gets or sets parent section.
Declaration
public Section ParentSection { get; }
Property Value
| Type | Description |
|---|---|
| Section |
Watermark
Gets or sets a text watermark on this header/footer. When set, the watermark's shape is added as a floating, page-centered shape in the header/footer story so that it appears on every page of the section.
Declaration
public TextWatermark Watermark { get; set; }
Property Value
| Type | Description |
|---|---|
| TextWatermark |
Methods
SetWatermark(Watermark)
Sets a watermark (text or picture) on this header/footer. The watermark's shape is added as a floating shape in the header/footer story so that it appears on every page of the section.
Declaration
public void SetWatermark(Watermark watermark)
Parameters
| Type | Name | Description |
|---|---|---|
| Watermark | watermark | The watermark to apply (text or picture). |