TerSetSectPageSize
Set the page size for a section.
bool 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. |
PaperKind kind; | One of the PaperKind enumeration values. |
int PageWidth; | The page width in twips units. This argument is used only if kind is set to PaperKind.Custom. |
int PageHeight; | The page height in twips units. This argument is used only if kind is set to PaperKind.Custom. |
bool repaint; | true to refresh screen after this operation. |
Return Value: The function returns true when successful.