RichEditView.GetCursorBounds() Method
In This Article
Gets the cursor coordinates in the current document's view.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v14.2.Core.dll
#Declaration
#Returns
Type | Description |
---|---|
Rectangle | A Rectangle representing the cursor. The units of measurement are documents. |
#Remarks
Use the GetCursorBounds method to determine the cursor location and dimensions of the character box encompassing the cursor in the current view. This may be useful for custom drawing on the document.
To calculate the DocumentPosition for a given point, and vice versa, use the RichEditControl.GetPositionFromPoint and the RichEditControl.GetBoundsFromPosition methods.
See Also