ComponentOne RichTextBox for WPF and Silverlight
GetRectFromPosition Method (C1RichTextViewManager)

C1.WPF.RichTextBox Namespace > C1RichTextViewManager Class : GetRectFromPosition Method
A C1.WPF.RichTextBox.Documents.C1TextPointer.
Returns the System.Windows.Rect of document layout coordinates for a given position.
Syntax
'Declaration
 
Public Function GetRectFromPosition( _
   ByVal position As C1TextPointer _
) As System.Windows.Rect
public System.Windows.Rect GetRectFromPosition( 
   C1TextPointer position
)

Parameters

position
A C1.WPF.RichTextBox.Documents.C1TextPointer.

Return Value

The System.Windows.Rect of document layout coordinates for a given position.
See Also

Reference

C1RichTextViewManager Class
C1RichTextViewManager Members