XFINIUM.PDF Documentation
GetPageNumberForFieldWidget Method



Xfinium.Pdf.Core Namespace > PdfFileEx Class : GetPageNumberForFieldWidget Method
The field that owns the widget.
Index of the widget.
Gets the number of the page that includes the specified field widget.
Syntax
'Declaration
 
Public Function GetPageNumberForFieldWidget( _
   ByVal fieldName As String, _
   ByVal widgetIndex As Integer _
) As Integer
'Usage
 
Dim instance As PdfFileEx
Dim fieldName As String
Dim widgetIndex As Integer
Dim value As Integer
 
value = instance.GetPageNumberForFieldWidget(fieldName, widgetIndex)
public int GetPageNumberForFieldWidget( 
   string fieldName,
   int widgetIndex
)
public:
int GetPageNumberForFieldWidget( 
   String^ fieldName,
   int widgetIndex
) 

Parameters

fieldName
The field that owns the widget.
widgetIndex
Index of the widget.

Return Value

The number of the page that includes the specified field widget or -1 if the field name is invalid.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfFileEx Class
PdfFileEx Members