PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderBarCodeFragment Class / DrawBorders Method
Graphics object on which the object is being drawn.
Outer rectangle of borders.
Sizes of borders.

In This Topic
    DrawBorders Method (RenderBarCodeFragment)
    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