 | PdfViewerHighlightText(Int32, Int32, Int32, Color) Method |
Highlight text on the page
Namespace: Patagames.Pdf.Net.Controls.WinFormsAssembly: Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.100.2704
Syntaxpublic void HighlightText(
int pageIndex,
int charIndex,
int charsCount,
Color color
)
Public Sub HighlightText (
pageIndex As Integer,
charIndex As Integer,
charsCount As Integer,
color As Color
)
public:
void HighlightText(
int pageIndex,
int charIndex,
int charsCount,
Color color
)
member HighlightText :
pageIndex : int *
charIndex : int *
charsCount : int *
color : Color -> unit public void HighlightText(
int pageIndex,
int charIndex,
int charsCount,
Color color
)
function HighlightText(pageIndex, charIndex, charsCount, 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