Open it-linnan opened 6 years ago
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. ;-)
Yes,it's my mistake. Thanks for your suggestion.
When I used
PdfDocument.CreatePrintDocument
method to create aPrintDocument
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