Skip to content

Draw graphics in a PDF file in the Control.Paint event handler. Use the PDF Graphics API to save graphics to a file.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/how-to-custom-draw-in-pdf-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to: Draw Graphics by Coordinates Obtained from the PDF Viewer

The PDF Viewer allows you to draw graphics in a PDF file in the Control.Paint event handler. Use the PDF Graphics API to save graphics to a file.

Note

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use PDF Graphics API in production code.

In this example, a rectangle is drawn in the selection area. Drawing is activated on the Activate Drawing button click. The Save Graphics and Reload button saves created graphics and reloads the PDF file.

result

Files to Look At

Documentation

How to: Draw Graphics by Coordinates Obtained from the PDF Viewer

Does this example address your development requirements/objectives?

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

About

Draw graphics in a PDF file in the Control.Paint event handler. Use the PDF Graphics API to save graphics to a file.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •