SearchIndexSearch Method (SearchHandler, Regex, Int32, Boolean)

Apitron PDF Rasterizer help
Apitron.PDF.Rasterizer library for .NET
Searches for a specified text using index data built for a PDF file.

Namespace:  Apitron.PDF.Rasterizer.Search
Assembly:  Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.0)
Syntax

public bool Search(
	SearchHandler handler,
	Regex expression,
	int searchFrom = 0,
	bool fromTopToBottom = true
)

Parameters

handler
Type: Apitron.PDF.Rasterizer.SearchSearchHandler
The progressive search handler.
expression
Type: System.Text.RegularExpressionsRegex
The expression to be used for searshing.
searchFrom (Optional)
Type: SystemInt32
The index to search from.
fromTopToBottom (Optional)
Type: SystemBoolean
if set to true the search will be performed from top to bottom otherwise if set to false - from bottom to top.

Return Value

Type: Boolean
true means that search has been canceled otherwise false
Remarks

If license is not set, search will work for first three pages only.
See Also

Reference