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.

Fri Mar 31, 2023 7:48 am

To get Text of Cell, i using function GetText of PdfTable ,
But Can I get Point of a Cell In Table?
foreach (PdfTable table in tableLists)
{
//Get row number and column number of a certain table
int iTotalRow = table.GetRowCount();
int iTotalCol = table.GetColumnCount();

//Loop though the row and colunm
for (int iRow = 0; iRow < iTotalRow; iRow++)
{
for (int iCol = 0; iCol < iTotalCol; iCol++)
{
//Get text from the specific cell
string text = table.GetText(iRow, iCol);

// Get Point of Cell
}

}

}

daitranthanhhoa
 
Posts: 51
Joined: Mon Sep 19, 2016 3:04 am

Mon Apr 03, 2023 3:44 am

Hi,

Thanks for your inquiry.
our Spire.PDF currently does not support retrieving the position information of cells, but I have added it as a new feature into our upgrade list with the ticket number SPIREPDF-5910, our developers will evaluate this function, once it is implemented, I will inform you asap.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.PDF