←Select platform

LastPosition Property

Summary

A shortcut for finding the last position in TextItems.

Syntax

C#
VB
C++
public DocumentViewerTextPosition LastPosition { get; } 
Public ReadOnly Property LastPosition() As DocumentViewerTextPosition 
   Get 
public:  
   property DocumentViewerTextPosition^ LastPosition 
   { 
      DocumentViewerTextPosition^ get() 
   } 

Property Value

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

Remarks

LastPosition is a get-only property for quickly finding the DocumentViewerTextPosition for the end of the last DocumentViewerTextItem in the TextItems list. This property assumes that the items are already sorted from low to high and only looks at the last item in the list. If the list is empty or null, LastPosition 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.WinForms Assembly