Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
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
Parameters
- numberOfDigits
- Type: SystemInt32
The number of digits, used to determine the size of the final content, minimum value is 1.
Exceptions
Exception | Condition |
---|---|
ArgumentException | If 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