[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Collapse]PDF Viewer
    Deployment
    Getting Started
    Coordinate Systems
   [Expand]Additional Content
    Printing
   [Expand]Interactive Forms
   [Expand]Manipulate Document Content
    Adjust the Document View
   [Expand]Visual Elements
   [Expand]Examples
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Coordinate Systems

The PDF Viewer uses the following coordinate systems:

Expanded Client Coordinate System

The PDF Viewer control uses the client coordinates (measured in pixels) to specify the points' position. This coordinate system’s starting point is at the top-left corner of the PDF Viewer's client area. Refer to the Windows Forms Coordinates article for more details.

Expanded Page Coordinate System

The page coordinate system's starting point (0,0) is the left-bottom corner of a page. The Y axis is directed from the bottom of the page to the top.

The page coordinate system uses points (1/72 of an inch) as a measurement unit.

Expanded Use Coordinate Systems in API

The table below lists methods that work with client and page coordinates, and methods used to covert one coordinate type into another.

Use Client Coordinates

Use Page Coordinates

Convert Coordinates

PdfViewer.GetContentInfo

PdfViewer.Select

PdfViewerControl.SelectWord

PdfViewer.Select(PdfDocumentPosition, PdfDocumentPosition) (see PdfViewer.Select)

PdfViewer.GetDocumentPosition

PdfViewer.GetClientPoint

Convert page coordinates into client coordinates to draw custom graphics on the Control.Paint event in the PDF Viewer. Refer to the How to: Custom Draw in the PDF Viewer article for a code example.

Convert client coordinates to page coordinates when you need to determine what page was clicked in a document. Refer to the How to: Determine the Page Number of a Clicked PDF Page example for more information.

Is this topic helpful?​​​​​​​