TE Edit Control Win32 / Win64 Help
Product page

TerSetSectOrient

Set the orientation for a section.

BOOL TerSetSectOrient(hWnd, orient, repaint)
HWND hWnd;Window handle to access
int orient;orientation: DMORIENT_PORTRAIT or DMORIENT_LANDSCAPE
BOOL repaint;TRUE to refresh screen after this operation.

Description: This function is used to set the page orientation for the section..

Return Value: The function returns TRUE when successful.