Type Property
- Namespace
TXTextControl.Web
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
Description
Gets the type of the header or footer. It is a value of the Web.HeaderFooterType enumeration.
Syntax
public HeaderFooterType Type { get; }Public ReadOnly Property Type As HeaderFooterTypeMembers
| Value | Description |
|---|---|
| Header | The object represents a header. When an even header exists the object represents the odd header. Otherwise it represents the header of all pages. |
| FirstPageHeader | The object represents a special header of the document's or section's first page. |
| Footer | The object represents a footer. When an even footer exists the object represents the odd footer. Otherwise it represents the footer of all pages. |
| FirstPageFooter | The object represents a special footer of the document's or section's first page. |
| EvenHeader | The object represents an even header. |
| EvenFooter | The 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}");Dim configuredValue = headerFooter.Type
Console.WriteLine($"Type used by Header Footer: {configuredValue}")Limitations
Read only.