Click or drag to resize
PDFDocumentSearchTextAndHighlight Method (String, RESearchOption, Int32, Int32)
Highlight specified text from the specified pdf page(from offset to offser + pagecount -1).

Namespace: RasterEdge.XDoc.PDF
Assembly: RasterEdge.XDoc.PDF (in RasterEdge.XDoc.PDF.dll) Version: 9.8.7.60526 (9.8.7.60526)
Syntax
public void SearchTextAndHighlight(
	string matchString,
	RESearchOption option,
	int pageOffset,
	int pageCount
)

Parameters

matchString
Type: SystemString
The word will be highlighted.
option
Type: RasterEdge.Imaging.Basic.TextSearchRESearchOption
Highlight options, such as WholeWord, IgonreCase..
pageOffset
Type: SystemInt32
The highlight page index offset starting at 0.
pageCount
Type: SystemInt32
The page count will be highlight from the offset.
See Also