VegaRise.NET
Back to DocumentSection

AddHeaderMethod

Definition

Namespace
DOM.Elements
Assembly
DOM.dll

Overloads

AddHeader(IDocumentHeader header)

Adds an existing header to the section.

AddHeader(HeaderFooterType headerType)

Creates and adds a new header of the specified type to the section.

AddHeader(IDocumentHeader header)

IDocumentHeader AddHeader(IDocumentHeader header)

Adds an existing header to the section.

Parameters

header
The header instance to add.

Returns

IDocumentHeader

The added instance. IDocumentHeader

Exceptions

  • System.Exception: Thrown when a header of the same already exists. HeaderFooterType

AddHeader(HeaderFooterType headerType)

IDocumentHeader AddHeader(HeaderFooterType headerType)

Creates and adds a new header of the specified type to the section.

Parameters

headerType
The type of header to create (for example, default or first page).

Returns

IDocumentHeader

The newly created instance. IDocumentHeader

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.