TerSetSectTextFlow
Set the right-to-left/left-to-right text flow option for the section.
BOOL TerSetSectTextFlow(hWnd, sect, TextFlow, refresh)
HWND hWnd; | The handle of the window to be accessed |
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 TextFlow; | The text flow constant can be one of the following |
FLOW_LTR | Left-to-right text flow |
FLOW_RTL | Right-to-left text flow |
FLOW_DEF | Default text flow. The flow will be determined by the document, table, or paragraph level text flow specification. |
BOOL refresh; | TRUE to refresh the window after this operation |
Return Value: This function returns TRUE if successful.