wordWrap Property (AnnTextObject)

Summary

Gets or sets a value that indicates whether a AnnTextObject automatically wraps words to the beginning of the next line when necessary.

Syntax

JavaScript Syntax
Object.defineProperty(AnnTextObject.prototype, 'wordWrap', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
wordWrap: boolean;

Property Value

true if the multiline AnnTextObject wraps words; otherwise, false. The default value is true.

Remarks

An AnnTextObject renders multiline text as follows:

  • If a new line character is encountered, then the following word will be rendered on the next line

  • When there is not enough space to render the current word in the current line. The it uses the value of WordWrap to determine whether to start a new line to render the current and subsequent words.

AnnTextObject does not automatically resizes itself when there is not enough space to render characters and words. The bounding rectangle can be changed programatically or through automation using the Rect property.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize