There are number of open-source APIs. Try htmldocs.
__avd
Posting Genius (adatapost)
8,736 posts since Oct 2008
Reputation Points: 2,141
Solved Threads: 1,262
Skill Endorsements: 50
Try "PDFsharp". PDFsharp is a .NET library which easily creates and processes PDF documents on the fly from any .NET language.
annaharris
Junior Poster in Training
58 posts since Apr 2013
Reputation Points: 0
Solved Threads: 6
Skill Endorsements: 0
I suggest you to try iTextSharp.
annaharris
Junior Poster in Training
58 posts since Apr 2013
Reputation Points: 0
Solved Threads: 6
Skill Endorsements: 0