PageCount Constructor (Int32)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the PageCount class.

Namespace:  Apitron.PDF.Kit.FlowLayout.Content
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public PageCount(
	int numberOfDigits
)

Parameters

numberOfDigits
Type: SystemInt32
The number of digits, used to determine the size of the final content, minimum value is 1.
Exceptions

ExceptionCondition
ArgumentExceptionIf number of digits is less than 1.
Remarks

Examples

C#
FlowDocument document = new FlowDocument();
document.PageFooter.Add(new PageCount(2) { Margin = new Thickness(4), Padding = new Thickness(4), Border = new Border(1), BorderColor = RgbColors.Red, Font = new Font(StandardFonts.TimesBold, 16) });
See Also

Reference