lastPosition Property

Summary

A shortcut for finding the last position in TextItems.

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

Property Value

A DocumentViewerTextPosition representing the DocumentViewerTextItem.PageNumber and DocumentViewerTextItem.LastCharacterIndex of the last entry in TextItems. Can be null.

Remarks

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

History

19.0.0.49
Added

Requirements

Target Platforms

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

Leadtools.Document.Viewer Assembly