officefileapi-devexpress-dot-pdf-dot-pdfpage-db6c3b8f.md
Returns the page index.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Core.dll
NuGet Package : DevExpress.Pdf.Core
public int GetPageIndex()
Public Function GetPageIndex As Integer
| Type | Description |
|---|---|
| Int32 |
The page index.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetPageIndex() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
pdf-document-api-highlight-search-results/CS/HighlightSearchResults/Program.cs#L63
PdfDocumentFacade facade = processor.DocumentFacade;
PdfPageFacade page = facade.Pages[result.Page.GetPageIndex()];
pdf-document-api-highlight-search-results/VB/HighlightSearchResults/Program.vb#L54
Dim facade As PdfDocumentFacade = processor.DocumentFacade
Dim page As PdfPageFacade = facade.Pages(result.Page.GetPageIndex())
See Also