ComponentOne RichTextBox for WPF and Silverlight
Paint Method (C1PaintingContext)

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.
Paints a System.Windows.UIElement inside the appropriate C1RichTextPresenter.
Syntax
'Declaration
 
Public Sub Paint( _
   ByVal left As System.Double, _
   ByVal top As System.Double, _
   ByVal clip As System.Boolean, _
   ByVal element As System.Windows.FrameworkElement _
) 
public void Paint( 
   System.double left,
   System.double top,
   System.bool clip,
   System.Windows.FrameworkElement element
)

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

Reference

C1PaintingContext Class
C1PaintingContext Members