RichTextBox for WinRT
GetRectFromPosition Method (C1RichTextBox)


A C1.Xaml.RichTextBox.Documents.C1TextPointer.
Returns the Windows.Foundation.Rect of screen coordinates for a given position.
Syntax
'Declaration
 
Public Function GetRectFromPosition( _
   ByVal position As C1TextPointer _
) As Windows.Foundation.Rect
'Usage
 
Dim instance As C1RichTextBox
Dim position As C1TextPointer
Dim value As Windows.Foundation.Rect
 
value = instance.GetRectFromPosition(position)
public Windows.Foundation.Rect GetRectFromPosition( 
   C1TextPointer position
)

Parameters

position
A C1.Xaml.RichTextBox.Documents.C1TextPointer.

Return Value

The Windows.Foundation.Rect of screen coordinates for a given position.
Requirements

Target Platforms: Windows 7, 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

Reference

C1RichTextBox Class
C1RichTextBox Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback