TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetZoom

Set the zoom percentage.

int TerSetZoom( ZoomPercent)
int ZoomPercent;Specify a value between 10 and 1000, the 100 being the normal display. You can set this argument to –2 to simply retrieve the current zoom percent with changing it.

Return Value: This function returns the previous zoom percent. It returns -1 if an error occurs.