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.

Mon Jun 12, 2017 11:23 am

Hi,

I want to read PDF, which contains two or more columns.

So, How to read it Column by Column instead of line by line.


Thank you.

shital_GMCS
 
Posts: 3
Joined: Fri Jun 09, 2017 9:49 am

Tue Jun 13, 2017 3:20 am

Dear shital_GMCS,

Thanks for your inquiry.
Sorry that I am not quite clear about your specific requirement, did you want to read text ?
And could you please provide us with input file and describe your issue in detail ?

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Jun 13, 2017 5:04 am

Hi,
Yes, I want to read text from pdf.
Suppose,
My first page of PDF file is consists of two columns.
And If I want to read only first column then how to read that ?

OR

Is there any way to read particular paragraph from PDF file.

Thank you.

shital_GMCS
 
Posts: 3
Joined: Fri Jun 09, 2017 9:49 am

Tue Jun 13, 2017 7:10 am

Dear shital_GMCS,

Thanks for your inquiry.
Sorry that there is no direct way to acheive what you want. For your requirement, you could extract all text firstly, then get the corresponding text by yourself.

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Jan 08, 2018 10:32 am

Dear shital_GMCS,

Thanks for your waiting.
Glad to inform you that the new feature has been implemented in Spire.PDF Pack(Hot Fix) Version:3.9.584.
Sample code for your reference:
Code: Select all
pdf.Pages[0].ExtractText(new RectangleF(10,20,400,500));

Looking forward to your feedback.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Jan 12, 2018 8:35 am

Dear shital_GMCS,

Greetings from E-iceblue.
Did you test the hotfix and new feature ?
Could you please give us some feedback ?

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDF