PdfDocumentPosition Class
Represents a point in the page coordinates of the PDF document.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v21.2.Core.dll
Declaration
Related API Members
The following members accept/return PdfDocumentPosition objects:
Library | Related API Members |
---|---|
WinForms Controls | PdfSelectionEventArgs.DocumentPosition |
PdfViewer.GetDocumentPosition(PointF) | |
PdfViewer.GetDocumentPosition(PointF, Boolean) | |
WPF Controls | PdfHitTestResult.DocumentPosition |
PdfViewerControl.ConvertPixelToDocumentPosition(Point) | |
PdfViewerControl.ConvertPixelToDocumentPosition(Point, Boolean) | |
SelectionEventArgs.DocumentPosition | |
Office File API | PdfDocumentContent.DocumentPosition |
Windows 10 App Controls | PdfViewerControl.ClientToDocument(Point) |
Remarks
Use PdfDocumentPosition objects to obtain the position in page coordinate system. The following API uses the PdfDocumentPosition object:
PDF Document API:
- PdfDocumentContent.DocumentPosition
- PdfDocumentArea.Create
- PdfDocumentProcessor.GetImages
- PdfDocumentProcessor.GetText
- PdfDocumentProcessor.GetWord
WinForms PDF Viewer
Converters:
WPF PDF Viewer
Converters:
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the PdfDocumentPosition class.
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.