InfoPath2007 - How to print out a Form within the code. (not XDocument) - InfoPath Dev
in

InfoPath Dev

InfoPath2007 - How to print out a Form within the code. (not XDocument)

Last post 05-20-2009 03:16 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-20-2009 02:32 AM

    InfoPath2007 - How to print out a Form within the code. (not XDocument)

    Hello,

     I'm completely new to Infopath and I want to create a Button or a Link which Prints out the form. So I ask: Which code do I have to use?

     My Main Problem is, that I don't know that much about the ObjectModel (I do reading MSDN!) .. e.g. How can I access to the XmlForm and so on.

    Filed under: ,
  • 05-20-2009 03:16 PM In reply to

    Re: InfoPath2007 - How to print out a Form within the code. (not XDocument)

    Hi:

    In C#, I used 'this.Print()' which worked on my test form. Add a button to your form, then under the button's properties, select Edit Form Code. If you are using VB.NET, I'd assume Me.Print() would work. This is for the client version of IP. I'm not sure how to do this for a browser form, but this article on printing to PDF may be useful.

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.