Visual Basic
C#
Managed Extensions for C++
C++/CLI
This overload sets the field's name to "Page number" and FormatString property to null. The field will only display a page number without any additional formatting. Use PageNumberPrintFieldContent Constructor(String,String) to specify custom name and custom format string, allowing to display the page count.