Method GetOwnerPageIndex
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
GetOwnerPageIndex()
Gets the index of the page that contains this widget.
public int? GetOwnerPageIndex()
Returns
- int?
The index of the page that contains this widget, or
nullif the widget is not associated with a page.
Remarks
Getting the page index may require enumerating all pages in the document, which can be slow for large documents.
Exceptions
- UnexpectedStructureException
An underlying PDF object has an unexpected structure.