Hi team,
Hi Ihsan,
I have observed your requirements and request you to please share if you are using Aspose.Imaging or Aspose.Pdf on your end. Please also share the source file along with working sample project on your end. Please provide requested information so that we may proceed further to help you out.
Many Thanks,
Hi Mudassir,
Hi Ihsan,
Your query is related to Aspose.Pdf and I am moving this query to respective forum where our respective support team will assist you further in this regard.
Many Thanks,
Hi Ishan,
Thanks for contacting support.
I have tested the scenario in our environment using the project which you have shared with Aspose.Pdf for .NET 17.5 and was unable to notice the issue. The table data/cell values were extracted as expected. Please check following code snippet and attached screenshot of the output for your reference.
Document pdfDocument = new Document(dataDir + “Max.pdf”);
TableAbsorber absorber = new TableAbsorber();
absorber.Visit(pdfDocument.Pages[1]);
foreach (AbsorbedTable table in absorber.TableList)
{
foreach (AbsorbedRow row in table.RowList)
{
foreach (AbsorbedCell cell in row.CellList)
{
foreach (TextFragment text in cell.TextFragments)
{
Console.Write(text.Text + " ");
}
Console.Write("|");
}
Console.WriteLine("-------------------------------------------");
}
Console.WriteLine("===========================================");
}
In case if you are using an old version of the API, please update to latest version as it is always recommended and if you are facing issue with latest version of the API, please share some more details regarding your environment (i.e OS Version, Application Type, Target Framework Version, etc). This would help us in investigating the scenario in specified environment and address it accordingly.
Best Regards,
Hi Asad ,
Hi Ishan,
Hi Asad,
Hi Ishan,