Winnovative Logo

PdfToTextConverter.FindText Method (Byte[], String, Int32, Boolean, Boolean)

Winnovative Client for .NET Core
Searches for a given text in PDF pages of a PDF document starting from a given PDF page number to the end of the PDF document

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public FindTextLocation[] FindText(
	byte[] pdfData,
	string textToFind,
	int startPageNumber,
	bool caseSensitive,
	bool wholeWord
)

Parameters

pdfData
Type:System.Byte[]
The memory buffer containing the PDF document
textToFind
Type: System.String
The text to find
startPageNumber
Type: System.Int32
The start page number
caseSensitive
Type: System.Boolean
A flag indicating if the search should match case
wholeWord
Type: System.Boolean
A flag indicating if the search should match whole words

Return Value

Type:FindTextLocation[]
The records containing the location of the searched text in PDF document pages
See Also

Reference