TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetCellBorderColor

Retrieve the border color for a specific cell id.

int TerGetCellBorderColor( CellId);
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 TerGetOutColor method:

Color pLeft;

The left border color.

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

LeftColor=tej.TerGetOutColor("LeftColor")
Color pRight;

The right border color.

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

RightColor=tej.TerGetOutColor("RightColor")
Color pTop;

The top border color.

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

TopColor=tej.TerGetOutColor("TopColor")
Color pBottom;

The bottom border color.

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

BottomColor=tej.TerGetOutColor("BotColor")

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