PdfiumViewer icon indicating copy to clipboard operation
PdfiumViewer copied to clipboard

When printing a pdf with sign,the output document does not display the sign area

Open it-linnan opened this issue 6 years ago • 2 comments

When I used PdfDocument.CreatePrintDocument method to create a PrintDocument to print pdf file, the output document does not display the sign area. However,it can display on the PdfViewer.

I guess the PdfPrintDocument.RenderPage method has some issue

it-linnan avatar Sep 12 '18 02:09 it-linnan

Great... thanks to your change it-linnan, now can i prints signatures. It seems that the method RenderPDFPageToDC of the PdfFile class does not process annotations, while RenderPDFPageToBitmap does well. But... only one thing. I think you should have kept the variables used in the method instead of directly use "EventArgs". In this way things like PdfPrintMode.ShrinkToMargin still working as expected. ;-)

carlosbet avatar Jan 13 '19 19:01 carlosbet

Yes,it's my mistake. Thanks for your suggestion.

it-linnan avatar Jan 14 '19 06:01 it-linnan