PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderTextFragment Class / GetRoundBorderClipping Method
The graphics to use.
Outer rectangle of borders.
Sizes of borders.
Whether to use GDI drawing.
OUT: clip path.
OUT: clip region.

In This Topic
    GetRoundBorderClipping Method (RenderTextFragment)
    In This Topic
    Retures GraphicsPath object representing the rounded object's border, if border is not rounded returns nil.
    Syntax
    'Declaration
     
    Protected Sub GetRoundBorderClipping( _
       ByVal graphics As Graphics, _
       ByVal outerRect As Rectangle, _
       ByVal borders As OffsetsI, _
       ByVal drawingFlags As DrawingFlagsEnum, _
       ByRef clipPath As GraphicsPath, _
       ByRef clipRegion As IntPtr _
    ) 
    protected void GetRoundBorderClipping( 
       Graphics graphics,
       Rectangle outerRect,
       OffsetsI borders,
       DrawingFlagsEnum drawingFlags,
       out GraphicsPath clipPath,
       out IntPtr clipRegion
    )

    Parameters

    graphics
    The graphics to use.
    outerRect
    Outer rectangle of borders.
    borders
    Sizes of borders.
    drawingFlags
    Whether to use GDI drawing.
    clipPath
    OUT: clip path.
    clipRegion
    OUT: clip region.
    See Also