We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Search for text in PDF by Font

Team,

Is there a way to search a PDF to get all text that were in specific font names? For example if a pdf has text “This is a test search using Aspose.pdf” and if the text “test search” is created with font “Arial” then if I search by Arial font, it has get the text “test search” as result.

Thanks
AR

@adzapp

Would you please share your sample PDF with us. We will test the scenario in our environment and address it accordingly.

Aspose.pdf (70.8 KB)
Hi Asad,

Please find the document attached. I need to get the text that are in Arial font.

Thanks
AR

@adzapp

We are afraid that currently required functionality is not available in Aspose.PDF. However, we have logged a feature request as PDFNET-48185 in our issue tracking system for this. We will investigate the feasibility of required feature and keep you posted with the status of its implementation. Please be patient and spare us some time.

We are sorry for the inconvenience.