TE Edit Control Java / HTML-JavaScript Help
Product page

TerGetPageBorderDim

Return the page border dimension.

int TerGetPageBorderDim()

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

int width;

The page border width (left and right) in twips.

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

width=tej.TerGetOutInt("Width")
int height;

The top page border height in twips.

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

height=tej.TerGetOutInt("Height")

Description: This function is available in the PageMode or PrintView mode only.

Return Value: This function returns true when successful.