PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / RenderParagraphFragment Class / DrawBorders Method
Graphics object on which the object is being drawn.
Outer rectangle of borders.
Sizes of borders.
Parameters used to generate a metafile.

In This Topic
    DrawBorders Method (RenderParagraphFragment)
    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
    Parameters used to generate a metafile.
    See Also