ActiveReports 6 Online Help
Find(String,FindOptions,Int32,Single) Method

The string to search for in the document.
Direction options for the search.
Starting position of the search.  If the string was found, currentIndex is set to the position where the string was found.
The offset specified in the text string from which to begin searching.
Searches the text in the document for a specified string starting at a specified location and with specific options applied to the search. 
Syntax
'Declaration
 
Public Overloads Function Find( _
   ByVal searchString As String, _
   ByVal options As FindOptions, _
   ByRef currentIndex As Integer, _
   ByRef currentOffset As Single _
) As FindResult
public FindResult Find( 
   string searchString,
   FindOptions options,
   ref int currentIndex,
   ref float currentOffset
)

Parameters

searchString
The string to search for in the document.
options
Direction options for the search.
currentIndex
Starting position of the search.  If the string was found, currentIndex is set to the position where the string was found.
currentOffset
The offset specified in the text string from which to begin searching.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Document Class
Document Members
Overload List

Send Feedback