GetInternalId
Returns an internal id of the current table row.
Syntax
expression.GetInternalId();
expression - A variable that represents an ApiTableRow class.
Parameters
This method doesn't have any parameters.
Returns
string
Example
Get the internal identifier of a table row in a PDF.
// Get a unique identifier for a table row in a PDF.
// Retrieve the internal id and display it in the first cell in a PDF.
const doc = Api.GetDocument();
const page = doc.GetPage(0);
const table = Api.CreateTable(2, 3);
const row = table.GetRow(0);
const cell = row.GetCell(0);
const content = cell.GetContent();
const paragraph = Api.CreateParagraph();
paragraph.AddText('Internal id: ' + row.GetInternalId());
content.Push(paragraph);
page.AddObject(table);