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

VegaRiseVDocs.NET

Reset Password

Enter your email and we'll send you a link to reset your password.

Remember your password? Sign in