HeaderFooter Class
- Namespace
TXTextControl.Web
- Package
TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb
- Assembly
TXTextControl.Web. DocumentEditor. dll
- Install
dotnet add package TXTextControl.Web
- Inherits
- Text
Part - Header
Footer
- Text
- Implements
- IFormatted
Text
Description
An instance of the Web.HeaderFooter class represents a header or footer in a Text Control document. The Web.HeaderFooter class inherits from the Web.TextPart class.
Syntax
public class HeaderFooter : TextPartPublic Class HeaderFooter
Inherits TextPartExamples
The following example inspects a Header Footer object supplied by the document workflow.
var currentValue = headerFooter.Section;
Console.WriteLine($"Section: {currentValue}");Dim currentValue = headerFooter.Section
Console.WriteLine($"Section: {currentValue}")Members
Properties
| Property | Description |
|---|---|
| Section | Returns the number of the section to which the header or footer belongs. The sections of the document are numbered beginning with 1. This property returns zero, if the header or footer object does not represent a single header or footer. |
| Selection | Gets or sets the current selection in a text part. The property value is an object of the type Web.Selection. For more information see the description of the Web.Selection class. (Inherited from TextPart.) |
| Type | Gets the type of the header or footer. It is a value of the Web.HeaderFooterType enumeration. |