TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetRowInfo

Retrieve information about a table row id.

boolean TerGetRowInfo( RowId)
int RowId;The row id to extract information. Set to a negative value to specify a cell id in the row.

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

int height;

The current row height in printer units.

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

height=tej.TerGetOutInt("RowHeight")
int MinHeight;

The minimum height specification for the row. This value is a negative number to indicate exact row height in twips, or a positive number to indicate the minimum row height in twips, or zero to indicate auto row height.

Upon a successful return from this method, the minimum height can be retrieve as following:

MinHeight=tej.TerGetOutInt("RowMinHeight")
int FixWidth;

The width specification for the table. This value is negative number to indicate the row with as percentage of the current screen width. A positive value indicates the row width in twips.

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

FixWidth=tej.TerGetOutInt("FixWidth")
int PrevRow;

The previous row id.

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

height=tej.TerGetOutInt("RowHeight")
int NextRow;

The next row id.

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

height=tej.TerGetOutInt("RowHeight")
int indent;

The row indent in twips.

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

indent=tej.TerGetOutInt("RowIndent")
int flags;The row flags. The row flags (ROWFLAG_?) constants are defined in the tej.h file.
ROWFLAG_HDRHeader row
ROWFLAG_RTLRight-to-left cell placement row

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

flags=tej.TerGetOutInt("RowFlags")
int border;

The table border specification. This parameter is reserved for future.

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

border=tej.TerGetOutInt("RowBorder")
int CurWidth;

This current table width in twips units.

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

CurWidth=tej.TerGetOutInt("RowCurWidth")

Return Value: The function returns true if successful.