PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / RenderVerticalParagraphFragment 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 (RenderVerticalParagraphFragment)
    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