PDF4Java Reference Documentation
com.o2sol.pdf4java.core Package / PDFFileEx Class / getPageNumberForFieldWidget Method
The field that owns the widget.
Index of the widget.
Collapse All Expand All
In This Topic

getPageNumberForFieldWidget Method
In This Topic
Gets the number of the page that includes the specified field widget.
Syntax

    public int getPageNumberForFieldWidget(
       java.lang.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.
See Also

#### Reference

PDFFileEx Class
PDFFileEx Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.