Xceed Words for .NET v3.0 Documentation
AppendPageCount Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Paragraph Class : AppendPageCount Method
The PageNumberFormat that will be used. This value can be null.
Determines if the page count will come from the Section (true) or the Document (false). The default setting is false.
Appends a PageCount placeholder at the end of the Paragraph.
Syntax
'Declaration
 
Public Function AppendPageCount( _
   Optional ByVal pnf As Nullable(Of PageNumberFormat), _
   Optional ByVal useSectionPageCount As Boolean _
) As Paragraph
'Usage
 
Dim instance As Paragraph
Dim pnf As Nullable(Of PageNumberFormat)
Dim useSectionPageCount As Boolean
Dim value As Paragraph
 
value = instance.AppendPageCount(pnf, useSectionPageCount)
public Paragraph AppendPageCount( 
   Nullable<PageNumberFormat> pnf,
   bool useSectionPageCount
)

Parameters

pnf
The PageNumberFormat that will be used. This value can be null.
useSectionPageCount
Determines if the page count will come from the Section (true) or the Document (false). The default setting is false.

Return Value

The Paragraph with the PageCount placeholder appended.
Remarks
The PageNumberType property can be used to format the page numbers.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Paragraph Class
Paragraph Members