TE Edit Control Java / HTML-JavaScript Help
Product page

TerScrToTwipsY

Translate screen y position to page relative y position.

boolean TerScrToTwipsY( ScrY)
int ScrY;The screen client Y position (pixels) to translate.

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

int PageY;

The variable to receive the position (twips) relative to the top of the page. Upon a successful return from this method, the MagX value can be retrieve as following:

PageY=tej.TerGetOutInt("TwipsY")

Return Value: This function returns true when successful.