Version

CreatePageNumberField Method

Creates a new PageNumberField.
Syntax
'Declaration
 
Public Function CreatePageNumberField( _
   ByVal format As PageNumberFieldFormat _
) As PageNumberField
public PageNumberField CreatePageNumberField( 
   PageNumberFieldFormat format
)

Parameters

format
A PageNumberFieldFormat constant which defines the format for the page number field.
Remarks

This method returns an instance which contains a reference to this class, which enables the instance to observe the Unit property setting, so that the developer can work in the unit of measure with which he is most comfortable.

The instance returned from this method can be passed to the AddInlineShape method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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