The C# sample provided in this section uses the Muhimbi PDF Converter Services to convert a PDF file to a PDF/A2b compliant file.
For background details about converting a file to PDF/A using C#, see this Blog post.
Additional sample code to convert, merge, watermark, secure and OCR files can be found here.
Any questions? Drop us a line, we love to help.
For an overview of the prerequisites, including software to install as well as how to download this sample code, see the overview page for all .NET sample code.
Open the solution file in Visual Studio.
If the sample code is executed on the same server that runs the Muhimbi Conversion Service, then no changes are required.
If the conversion service is located on a different machine, then change the SERVICE_URL
as defined in program.cs
, and change localhost
to the name or address of the server running the conversion service.
With the change made, press CTRL+F5
to build and run the application. After a few seconds the processed file will be opened in your system's PDF reader.
Any questions? Drop us a line, we love to help.