firstPosition Property

Summary

A shortcut for finding the first position in TextItems.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentViewerMultiLineTextItem.prototype, 'firstPosition', 
	get: function() 
) 
TypeScript Syntax
firstPosition: DocumentViewerTextPosition; // read-only 

Property Value

A DocumentViewerTextPosition representing the DocumentViewerTextItem.PageNumber and DocumentViewerTextItem.FirstCharacterIndex of the first entry in TextItems. May be null.

Remarks

FirstPosition is a get-only property for quickly finding the DocumentViewerTextPosition for the start of the first DocumentViewerTextItem in the TextItems array. This property assumes that the items are already sorted from low to high and only looks at the first item in the array. If the array is empty or null, FirstPosition is null.

History

19.0.0.49
Added
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