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

TerSetPflags

Set additional paragraph flags

bool TerSetPflags( flags, OnOff, repaint)
int flags:

Select paragraph flags:

PFLAG_NO_WRAP: Disable word wrapping

PFLAG_WIDOW: Set Widow/Orphan control

To specify more than one styles, use the 'logical OR' (|) operator.

bool OnOff;true to set the flags, false to reset the selected flags.
bool repaint;true to refresh the window after this operation

Return Value: This function returns true if successful.