Hello,
I am trying to get a unified inline text of each page of a pdf that has both text and images. Is there any way I can get the position of an image in the text so that I can insert the results of my ocr job inline for the text?
Thanks.
var location = page.ImagesInfo[0].Bounds; PdfDocument pdf = new PdfDocument("Test.pdf");
PdfTextFindCollection allTextFind = pdf.Pages[0].FindAllText();
foreach (PdfTextFind find in allTextFind.Finds)
{
RectangleF buonds = find.Bounds;
}