开发者

Crop pdf by given coordinates using .net

开发者 https://www.devze.com 2023-02-11 21:17 出处:网络
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 cr

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消