TE Edit Control .NET Core / .NET Framework Help
Product page

TerSetSectAlign

Set the vertical alignment for the section.

bool TerSetSectAlign(sect, align, refresh)
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 align;The 'align' parameter can be set to one of the following constants:
SECT_VALIGN_CTRCenter vertically
SECT_VALIGN_BOTBottom aligned page
0
Top aligned page (default)
bool refresh;TRUE to refresh the window after this operation

Return Value: This function returns true if successful.