PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderTextFragment Class / DrawBackground Method
Graphics object on which the object is being drawn.
Bounds of inner area of object.

In This Topic
    DrawBackground Method (RenderTextFragment)
    In This Topic
    Draws background of object.
    Syntax
    'Declaration
     
    Protected Overridable Sub DrawBackground( _
       ByVal graphics As Graphics, _
       ByVal backgroundRect As Rectangle _
    ) 
    protected virtual void DrawBackground( 
       Graphics graphics,
       Rectangle backgroundRect
    )

    Parameters

    graphics
    Graphics object on which the object is being drawn.
    backgroundRect
    Bounds of inner area of object.
    See Also