programmation - PDF printing with Infopath

Hi,

I would like to make a PDF export from the InfoPath programming language (Visual Basic - Edited with visual studio Tools for application).
Can you tell me if it is possible to do this and where can I find documentation?
Thanks for your help.