'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.