[]
This method is called each time the C1RichTextViewManager paints a C1Line.
public void PaintInline(C1PaintingContext context, C1Line line)
Type | Name | Description |
---|---|---|
C1PaintingContext | context | A C1PaintingContext providing information for the current document section being painted. |
C1Line | line | The C1Line being painted. |
<p>
Any UIElement that is to be painted with the rich text inside the line is passed to PaintInline(C1Line, double, double, C1PaintLayer, FrameworkElement). Note that each time this method is called, all UIElements must be painted by calling PaintInline(C1Line, double, double, C1PaintLayer, FrameworkElement), otherwise they will be removed.