I am using the
this.CurrentView.Export(@"FileName", ExportFormat.Pdf)
code to export a from that is generated to PDF format and save it to a document library. When the document is exported with this code, the formatting that it produces is not consistant with how you would want a pdf document to be created (doesn't fit properly on 8.5" x 11" paper). Also, I cannot figure out if there is a way to specify where I want the page breaks to occur.
I would like to create a decent looking PDF document with the InfoPath form I have... but they just look like crap.
Is this the only method to export an InfoPath document to PDF? Are there other options that allow me to customize formatting options?