TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetCellBorderWidth

Retrieve the border width about a specific cell id.

int TerGetCellBorderWidth( CellId, out pLeft, out pRight, out pTop, out pBottom);
int CellId;Cell id to retrieve the information for. Set to -1 to select the current table cell.

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

int pLeft;

The left border width in twips.

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

LeftWidth=tej.TerGetOutInt("LeftWidth")
int pRight;

The right border width in twips.

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

RightWidth=tej.TerGetOutInt("RightWidth")
int pTop;

The top border width in twips.

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

TopWidth=tej.TerGetOutInt("TopWidth")
int pBottom;

The bottom border width in twips.

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

BotWidth=tej.TerGetOutInt("BotWidth")

Return Value: This function returns a true value if successful.