create new pdf c#
At my organization, all computers have Acrobat Pro installed. The company does not want to use any third party tools.
I am having a hard time finding any examples or documentation on how to create pdf files with C#. I have added a reference to the Acrobat Type Library in my C# application. But I am not sure where to go from there. I did this several years ago in Microsoft Access VBA, but I no longer have that code to try to adapt it to C#.
My question is, can someone please provide an example of a C# method that takes a string object and uses the text of the string to create a PDF document and then save the document to a windows folder? Also, how do I create the Acrobat application and document objects and properly close them? I remember from VBA that they had to be closed before they were destroyed.
I have tried looking at the Adobe Forums. I have also spent several hours on Google. I figured that this would be a great place to ask for help. Thanks.
David
