TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetSectPageSize

Set the page size for a section.

boolean TerSetSectPageSize( sect, kind, PageWidth, PageHeight, repaint)
int sect;Section id to apply changes. You can also set this parameter to SECT_CUR to edit the current section, or set it to SECT_ALL to apply changes to all sections in the document.
int kind;Not used currently. Must be set to 0.
int PageWidth;The page width in twips units.
int PageHeight;The page height in twips units.
boolean repaint;true to refresh screen after this operation.

Return Value: The function returns true when successful.