ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Can we Crop PDF?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
730 Posts

Posted - Jul 08 2025 :  06:21:31  Show Profile  Reply
Is it possible to crop PDF?

I want to crop PDF and then save the cropped part as a PDF file.

Is this possible?

TIA

Yogi Yang

xequte

39097 Posts

Posted - Jul 08 2025 :  21:30:56  Show Profile  Reply
Hi Yogi

PDF is a document format, so that would be like opening a Word file and "Cropping" a page. So the question to ask is what you are looking to do? Are you wanting to crop an image within the PDF page (keeping the page format, e.g. A4), or are you looking to change the page format (e.g. crop an A4 page to A5 for example).

Of course, you can load a PDF as if it were an image, crop it and then save it back as a PDF (as an image within a custom format PDF page), but that is not really what PDF is for.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

yogiyang

India
730 Posts

Posted - Jul 15 2025 :  05:28:19  Show Profile  Reply
Hello Nigel,

Sorry for a very late reply. Actually I was out of office traveling.

What I am actually looking for is to crop the PDF (which is generally a one page PDF) rearrange the elements that there after cropping and save it as a PDF. The saved PDF file's page size would naturally change to the cropped size.

The functionality that I want is available in an online service.


Yogi Yang
Go to Top of Page

xequte

39097 Posts

Posted - Jul 15 2025 :  21:14:51  Show Profile  Reply
Hi Yogi

There's not an automated way to do that. You'd have to code it using the PDFViewer:

https://www.imageen.com/help/TImageEnView.PdfViewer.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

yogiyang

India
730 Posts

Posted - Jul 17 2025 :  02:15:54  Show Profile  Reply
Hello Nigel,

Thanks for the clarification.

Yogi Yang
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: