←Select platform

FirstPosition Property

Summary

A shortcut for finding the first position in TextItems.

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

Property Value

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

Remarks

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

History

19.0.0.49
Added

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.WinForms Assembly