Redigeeri

Jagamisviis:


RichTextBox.GetCharFromPosition(Point) Method

Definition

Retrieves the character nearest to the specified location.

public:
 char GetCharFromPosition(System::Drawing::Point pt);
public char GetCharFromPosition (System.Drawing.Point pt);
member this.GetCharFromPosition : System.Drawing.Point -> char
Public Function GetCharFromPosition (pt As Point) As Char

Parameters

pt
Point

The location to search.

Returns

The character at the specified location.

Applies to