This method will set whether or not the selected text object will automatically word wrap.

[Visual Basic] Public Function SetSelectedObjectWordWrap(setWordWrap As Boolean) As Boolean
[C#]public bool SetSelectedObjectWordWrap(bool setWordWrap);

Parameters

setWordWrap

A value of type bool(Boolean) representing whether or not the text object automatically word wraps

Return Value

Returns True if successful, otherwise returns False.

Explanation

Executing the SetSelectedObjectWordWrap method, when the setWordWrap parameter is set to True, the selected text object will automatically wrap the line to the next line. Executing it when the setWordWrap parameter is set to False, the selected line object will not word wrap.

Executing this method is the same as selecting a text object, right clicking the object to display the context menu, selecting "Properties" and then checking (or unchecking) the "WordWrap" checkbox.

This method is enabled only when the selected object is a text object. If no object is selected or if the selected object is not a text object, then this method will return False.

Also See

ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit

 

The ImageKit.NET2 is created by Newtone Corporation