A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
ComPDFKit.PDFPage
CPDFTextPage Class
CPDFTextPage Methods
GetCharIndexAtPos Method
GetCharsRectAtPos Method
GetSelectionForWordAtPos Method
GetSelectText Method
IsValid Method
CPDFTextPage
GetSelectionForWordAtPos Method
Given a point in page-space, gets a selection representing a whole word at that point.
Namespace:
ComPDFKit.PDFPage
Assembly:
ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.0.0.0
Syntax
C#
Copy
public
string
GetSelectionForWordAtPos
(
CPoint
point
,
CPoint
tolerance
,
ref
CRect
wordRect
)
Parameters
point
Type:
ComPDFKit.Import
CPoint
Coordinate
tolerance
Type:
ComPDFKit.Import
CPoint
Tolerance range
wordRect
Type:
ComPDFKit.Import
CRect
Corresponding rectangle of the word
Return Value
Type:
String
Word string
See Also
Reference
CPDFTextPage Class
ComPDFKit.PDFPage Namespace