DocumentViewerSelectTextMode Enumeration

Summary

Mode to use when selecting text.

Syntax

JavaScript Syntax
lt.Documents.UI.DocumentViewerSelectTextMode = { 
	Line: 0, 
	Word: 1, 
	Character: 2 
} 
TypeScript Syntax
lt.Documents.UI.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly