I want to crop pdf by given coordinates using c#.
How can 开发者_C百科I do it? What are API/Libraries I can use? (Doesn't matter commercial or not but I can't spent lot)
PDF4NET has the option to crop pages by manipulating directly the page's CropBox or by extracting the page content and cropping it using a clip region.
Disclaimer: I work for the company that develops PDF4NET.
I don't know if it can do exactly what you want, but PDFsharp is a free and open source library for creating PDF files in .NET. I can recommend it.
iTextSharp http://sourceforge.net/projects/itextsharp/ is one that I've used before that I am pretty sure will do what you need. Will find some source code later if I have time.
精彩评论