ShowPageCounter Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Specifies whether the status bar shows the number of pages the document consists of.
Syntax
public bool ShowPageCounter { get; set; }Public Property ShowPageCounter As BooleanExamples
The following example uses StatusBar.ShowPageCounter to configure show page counter as part of the status bar workflow. The configured value is checked before the workflow continues.
statusBar.ShowPageCounter = true;
if (statusBar.ShowPageCounter)
{
Console.WriteLine("Status Bar: Show Page Counter is enabled.");
}statusBar.ShowPageCounter = True
If statusBar.ShowPageCounter Then
Console.WriteLine("Status Bar: Show Page Counter is enabled.")
End If