ComponentOne RichTextBox for WPF
C1.WPF.RichTextBox Namespace / C1PaintingContext Class / Paint Method
The left coordinate, in document coordinates.
The top coordinate, in document coordinates.
A Boolean indicating whether the UIElement should be clipped to the C1RichTextPresenter boundaries.
The System.Windows.UIElement to paint.

In This Topic
    Paint Method (C1PaintingContext)
    In This Topic
    Paints a System.Windows.UIElement inside the appropriate C1RichTextPresenter.
    Syntax
    'Declaration
     
    
    Public Sub Paint( _
       ByVal left As Double, _
       ByVal top As Double, _
       ByVal clip As Boolean, _
       ByVal element As FrameworkElement _
    ) 

    Parameters

    left
    The left coordinate, in document coordinates.
    top
    The top coordinate, in document coordinates.
    clip
    A Boolean indicating whether the UIElement should be clipped to the C1RichTextPresenter boundaries.
    element
    The System.Windows.UIElement to paint.
    See Also