TX Text Control .NET Server

Type Property

Property|Introduced in 22.0
Namespace
TXTextControl.Web
Package
TXTextControl.Web as TXTextControl.Web.DocumentEditor.dll from nuget.org, the private NuGet feed or Text Control Offline Packages

Description

Gets the type of the header or footer. It is a value of the Web.HeaderFooterType enumeration.

Syntax

public HeaderFooterType Type { get; }

Members

ValueDescription
HeaderThe object represents a header. When an even header exists the object represents the odd header. Otherwise it represents the header of all pages.
FirstPageHeaderThe object represents a special header of the document's or section's first page.
FooterThe object represents a footer. When an even footer exists the object represents the odd footer. Otherwise it represents the footer of all pages.
FirstPageFooterThe object represents a special footer of the document's or section's first page.
EvenHeaderThe object represents an even header.
EvenFooterThe object represents an even footer.

Examples

The following example checks HeaderFooter.Type before continuing the web document workflow.

var configuredValue = headerFooter.Type;
Console.WriteLine($"Type used by Header Footer: {configuredValue}");

Limitations

Read only.

Further Reading