ShowPageCounter Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. ASP. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. 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 StatusBarViewGenerator.ShowPageCounter to configure show page counter as part of the status bar view generator workflow. The configured value is checked before the workflow continues.
statusBarViewGenerator.ShowPageCounter = true;
if (statusBarViewGenerator.ShowPageCounter)
{
Console.WriteLine("Status Bar View Generator: Show Page Counter is enabled.");
}statusBarViewGenerator.ShowPageCounter = True
If statusBarViewGenerator.ShowPageCounter Then
Console.WriteLine("Status Bar View Generator: Show Page Counter is enabled.")
End If