TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetPaper

Set custom paper size and orientation.

boolean TerSetPaper( width, height, IsPortrait, refresh) // html/javascript version

boolean TerSetPaper( size, IsPortrait, refresh) // java version

int width;new paper width in twips (1440 twips = 1 inch)
int height;new paper height in twips.
PaperSize size;Paper size
boolean IsPortraitSet to true to specify the portrait orientation.
boolean refresh;true to refresh the window after this operation.

Return Value: This function returns true when successful.