TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetCellInfo

Retrieve the information about a specific cell id.

int TerGetCellInfo(CellId);
int CellId;Cell id to retrieve the information for.

Upon a successful return from this method, the following information can be retrieved by using TerGetOutInt method:

int RowId;

The row id for the cell.

Upon a successful return from this method, the row-id value can be retrieve as following:

RowId=tej.TerGetOutInt("RowId")
int PrevCell;

Theprevious cell in the row.

Upon a successful return from this method, the previous-cell id value can be retrieve as following:

PrevCell=tej.TerGetOutInt("PrevCell")
int NextCell;

Thenext cell in the row,

Upon a successful return from this method, the next-cell id value can be retrieve as following:

NextCell=tej.TerGetOutInt("NextCell")
int width;

Pointer to receive cell width in twips.

Upon a successful return from this method, the cell-width value can be retrieve as following:

width=tej.TerGetOutInt("CellWidth")
int border;

Pointer to receive border (true / false=0).

Upon a successful return from this method, the cell-width value can be retrieve as following:

border=tej.TerGetOutInt("CellBorder")
int shading;

Theshading percentage.

Upon a successful return from this method, the cell-width value can be retrieve as following:

shading=tej.TerGetOutInt("CellShading")
int RowSpan;

Therow span for the cell.

Upon a successful return from this method, the cell-width value can be retrieve as following:

RowSpan=tej.TerGetOutInt("RowSpan")
int ColSpan;

Thecolumn span for the cell.

Upon a successful return from this method, the cell-width value can be retrieve as following:

ColSpan=tej.TerGetOutInt("ColSpan")
int flags;

Thecell flags (CFLAG_ constants).

Upon a successful return from this method, the cell-width value can be retrieve as following:

flags=tej.TerGetOutInt("CellFlags")
Return Value:  This function returns a true value if successful.