HeaderFooterType Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.dll
Description
Determines the type of a header or footer. The enumeration contains the following values:
Syntax
[]
public enum HeaderFooterType<Flags>
Public Enum HeaderFooterTypeMembers
| Member | Value | Description |
|---|---|---|
| Header | 1 | The object is a header. When an even header exists, the object represents the odd header. Otherwise it represents the header of all pages. |
| FirstPageHeader | 2 | The object represents a special header of the document's or section's first page. |
| Footer | 4 | The object is a footer. When an even footer exists, this member represents the odd footer. Otherwise it represents the footer of all pages. |
| FirstPageFooter | 8 | The object represents a special footer of the document's or section's first page. |
| EvenHeader | 128 | The object represents an even header. |
| EvenFooter | 32768 | The object represents an even footer. |
| All | 32911 | Not described in the reference. |
Examples
The following example selects the Header value from the Header Footer Type enumeration and uses it as a documented workflow choice.
HeaderFooterType value = HeaderFooterType.Header;
Console.WriteLine($"Using Header Footer Type: {value}");Dim value As HeaderFooterType = HeaderFooterType.Header
Console.WriteLine($"Using Header Footer Type: {value}")See Also
HeaderFooter.Type Property, HeaderFooterCollection.Add Method, HeaderFooterCollection.GetItem Method, HeaderFooterCollection.Remove Method.