wordWrap Property

Summary

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

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnTextObject.prototype, 'wordWrap', 
	get: function(), 
	set: function(value) 
) 
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

Help Version 22.0.2023.1.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.