←Select platform

LastFindText Property

Summary

The last DocumentViewerFindText options object used in a completed Find.

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

Property Value

A copy of the last DocumentViewerFindText object passed to Find, or null in certain conditions.

Remarks

After the completion of a Find operation, a copy (made with DocumentViewerFindText.Clone) of the options passed will be saved to LastFindText. Each access of LastFindText will return a clone of the saved options. The value can be cleared with ClearLastFindText.

If Find has not been called on this DocumentViewerText or if ClearLastFindText has been called, LastFindText will be null.

This property is useful for re-using options to search through the same bounds with the same options with minimal setup for Find.

Refer to Find for more information.

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