This property sets whether or not word wrapping is used in the Text or Stamp object.

[Visual Basic] Public Property WordWrap As Boolean
[C#] public bool WordWrap {get; set;}

Property Value

True: Word wrapping is used in the Text or Stamp object.

True: Word wrapping is not used in the Text or Stamp object. The entered text will continue on the same line unless the Enter key is used start a new line.

Default value is True

Explanation

The WordWrap property sets whether or not word wrapping is used in the Text or Stamp object. The default value is True

When the WordWrap property is True, text being entered into the Text or Stamp object is wrapped to a new line when the text reaches the end of the object. When this text is drawn to the image, it will be drawn as it appears in the Text object.

If the text is too large to be displayed fully within the dimensions of the object, the latter part of the text will not be displayed. To change the size of the object, select the Text or Stamp object and move the sides of the object (The top, right, left, or bottom sides). Text will continue to be wrapped within the object while you are adjusting its size. You can force text to a new line by using the Enter key.

Selecting the Text or Stamp object and moving the corners, will change the size of the object and the text size at the same time.

When the WordWrap property is False, the text will not be wrapped within the object. Text will continue on the same line until the Enter key is pressed. If the text is too long to appear in the object, only the portion currently being entered will be displayed. Once the text has been entered, all text will be drawn on the same line unless a new line was forced using the Enter key.

To change word wrapping for the text in the Text or Stamp object after the text has been drawn, select the object and right click to display the "context menu", execute the ShowPropertyDialog method, or set the SelectedObjectWordWrap property.

Also See

ImageKit.Edit Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation