Click or drag to resize

PdfViewerHighlightText(Int32, Int32, Int32, Color, FS_RECTF) 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,
	FS_RECTF inflate
)

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
inflate  FS_RECTF
A delta values for each edge of the rectangles of the highlighted text.
See Also