PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / RenderFragment Class / DrawBorders(Graphics,Rectangle,OffsetsI,PageDrawParams) Method
Graphics object on which the object is being drawn.
Outer rectangle of borders.
Sizes of borders.

In This Topic
    DrawBorders(Graphics,Rectangle,OffsetsI,PageDrawParams) Method
    In This Topic
    Draws borders of object.
    Syntax
    'Declaration
     
    Protected Overridable Sub DrawBorders( _
       ByVal graphics As Graphics, _
       ByVal outerRect As Rectangle, _
       ByVal borders As OffsetsI, _
       ByVal pdp As PageDrawParams _
    ) 
    protected virtual void DrawBorders( 
       Graphics graphics,
       Rectangle outerRect,
       OffsetsI borders,
       PageDrawParams pdp
    )

    Parameters

    graphics
    Graphics object on which the object is being drawn.
    outerRect
    Outer rectangle of borders.
    borders
    Sizes of borders.
    pdp
    See Also