TX Text Control .NET for WPF

Header Property

Property|Introduced in 22.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the header of the page. If there is no header, null is returned.

Syntax

public HeaderFooter Header { get; }

Examples

The following example works with the first laid-out page of a short report by using Page.Header.

textControl.Text = "Quarterly results\nRevenue increased by 12%.";
Page page = textControl.GetPages()[1];

Console.WriteLine($"Header: {page.Header}");
Console.WriteLine("Page is ready for use.");

page.Select();

Limitations

Read only.