Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Tue Sep 12, 2023 9:30 am

Hello,

I am using the Spire.PDF library for working with PDF files in my project, and I have a specific question about how to retrieve the position and size of non-text and non-image graphic elements in a PDF document (such as rectangles, circles, etc.).

I have extensively reviewed the documentation and searched through the library's functionalities, but I have been unable to find a method or approach to extract these types of elements from a page.

As a reference, I have attached a sample PDF document that contains the types of elements I'm interested in. Could someone kindly provide guidance or point me in the right direction on how to achieve this?

Any assistance or insights would be greatly appreciated.

Thank you in advance for your help!

rubensalado
 
Posts: 9
Joined: Mon Sep 04, 2023 8:47 am

Wed Sep 13, 2023 3:25 am

Hi,

Thanks for your inquiry.
After reviewing the PDF document you provided, we have identified that the white background boxes and green areas you mentioned are of Path type. Regrettably, our Spire.PDF does not support the extraction of Path-type elements. We apologize for any inconvenience this may cause.

If you have any other questions of concerns, just feel free to contact us.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.PDF

cron