Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 2.43 KB

File metadata and controls

33 lines (22 loc) · 2.43 KB

Files to look at:

PDF Document API - Customize PDF Print Output

This example shows how to customize the print output and change settings for a page to be printed. 

To specify the output to print, handle PdfDocumentProcessor.PrintPage event and use the PdfPrintPageEventArgs.Graphics property. For example, to draw an image on each page, call the Graphics.DrawImage method.

You can print each document page using different page settings. For example, to print the second page in landscape size set the PdfQueryPageSettingsEventArgs.PageSettings.Landscape property to true when the PdfDocumentProcessor.QueryPageSettings event is handled.

Files to Look At

Does this example address your development requirements/objectives?

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