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

Free Support Forum - aspose.com

Need to validate the pdf based on the position of text in PDF


I need to get the text and images in PDF files based on given co-ordinates and validate them,
can you please help me?

Thanks in advance

Hi Nikitha,

Thanks for your inquiry. Please check following link to find text from a particular location of PDF page.

Moreover you may search Images from PDF document using ImagePlacementAbsorber class and get Rectangle of image to find image coordinate and accomplish your logic.

Please feel free to contact us for any further assistance.

Best Regards,

Hi Nikitha,

Can you please share some details regarding your above stated requirement of validating extracted images/text ?

Please note that earlier shared links show the steps to extract/get images from PDF page/pages and they do not show the steps to get images from certain coordinate. Besides this, you may consider converting particular page region to image format. For further details, please visit [Convert particular page region to Image format](http://www.aspose.com/docs/display/pdfjava/Convert+particular+page+region+to+Image+format)