WordWrap: WxWordWrap;
The WordWrap property determines wrap for the text included in objects.
Executing the example requires an existing ws object of the IWxWorkspace type.
Sub UserProc;
Var
ws: IWxWorkspace;
Begin
Style := Ws.Styles.Item(0);
Style.WordWrap := WxWordWrap.BreakWords;
End Sub UserProc;
After executing the example text wrap is set.
See also: