Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support


All forums · Statistics · Search ·

Two Pilots forum / For software developers / Converting Existing VB.net Project to PDF Output
Author Message
kgarcia
# Posted: 25 Sep 2007 12:59


I am converting a Invoice Printing program that generates the Invoice pages using
Printing.PrintPageEventArgs

How do I insert the final page into the PDF file using PDF Creator Pilot?

If this can not be done how do I convert these lines of code?
1)args.Graphics.DrawString(strType, fnLargeBold, Brushes.Black, 685, 15)
2)args.Graphics.DrawLine(blackPen, 40, 75, 40, 100)
3) args.Graphics.DrawImage(imageFile, 40, 10)

Thank you for your help!

Stanislav
Member
# Posted: 25 Sep 2007 13:13


Hello,

You can use PDF library virtual DC, please read documentation about DC property.

Best regards,
Stanislav
Two Pilots
www.colorpilot.com

 

 

Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.013

 

Page top