Click or drag to resize

PdfViewerHighlightText(Int32, Int32, Int32, Color) Method

Highlight text on the page

Namespace: Patagames.Pdf.Net.Controls.WinForms
Assembly: Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.100.2704
Syntax
public void HighlightText(
	int pageIndex,
	int charIndex,
	int charsCount,
	Color color
)

Parameters

pageIndex  Int32
Zero-based index of the page
charIndex  Int32
Zero-based char index on the page.
charsCount  Int32
The number of highlighted characters on the page or -1 for highlight text from charIndex to end of the page.
color  Color
Highlight color
See Also