Version

TextLocationFromPoint Method

Returns a Infragistics.Documents.Parsing.TextLocation that represents the character closest to the specified screen location (expressed as a Point in text area coordinates).
Syntax
'Declaration
 
Public Function TextLocationFromPoint( _
   ByVal point As Point _
) As Infragistics.Documents.Parsing.TextLocation
public Infragistics.Documents.Parsing.TextLocation TextLocationFromPoint( 
   Point point
)

Parameters

point
The screen location (expressed as a Point in text area coordinates) that is to be examined for a Infragistics.Documents.Parsing.TextLocation

Return Value

A Infragistics.Documents.Parsing.TextLocation representing the character within the line at the specified screen location (expressed as a Point in text area coordinates).
Remarks

Note: If a Point is specified that is beyond the last character on the line, a Infragistics.Documents.Parsing.TextLocation representing the last character on the line is returned.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also