DocumentViewerSelectTextMode Enumeration

Summary

Mode to use when selecting text.

Syntax
TypeScript
JavaScript
lt.Document.Viewer.DocumentViewerSelectTextMode = { 
	line: 0, 
	word: 1, 
	character: 2 
} 
lt.Document.Viewer.DocumentViewerSelectTextMode = { 
	line: 0, 
	word: 1, 
	character: 2 
} 

Members

0 Line

(0) Select the whole line if any of its characters intersect with the rectangle.

1 Word

(1) Select the whole word if any of its characters intersect with the rectangle.

2 Character

(2) Select only characters the intersect with the rectangle.

Remarks

Used with the SelectText method to control what part of the text gets selected.

Example

For an example, refer to SelectText.

Requirements

Target Platforms

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

Leadtools.Document.Viewer Assembly