Skip to content

DevExpress-Examples/how-to-determine-the-page-content-type-under-the-mouse-pointer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Viewer for WPF - Determine the page content type under the mouse pointer

This example uses the PdfViewerControl.HitTest method to determine the type of the page content under the mouse pointer.

This method returns a PdfHitTestResult instance with information about the page content type (text, an image or annotation). You can get the page content type using the ContentType property and the page content selection status using the IsSelected property.

In this example, the retrieved information is shown on the Content Type ribbon page group.

Call the PdfViewerControl.HitTest method in the PdfViewerControl.MouseMove event handler to perform hit testing.

Does This Example Address Your Development Requirements/Objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Determine the type of the page content under the mouse pointer in the DevExpress PDF Viewer

Topics

Resources

License

Stars

Watchers

Forks

Contributors