ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / FillRegionFrame Method
A System.IntPtr indicates the handle of the brush.
A System.IntPtr indicates the handle of the region.
A System.Drawing.Size that specifies the width of vertical brush strokes and the height of the horizontal brush strokes.

In This Topic
    FillRegionFrame Method
    In This Topic
    Draws a border around the specified region by using the specified brush.
    Syntax
    'Declaration
     
    Public Overridable Sub FillRegionFrame( _
       ByVal brushHandle As System.IntPtr, _
       ByVal regionHandle As System.IntPtr, _
       ByVal strokeSize As System.Drawing.Size _
    ) 
    public virtual void FillRegionFrame( 
       System.IntPtr brushHandle,
       System.IntPtr regionHandle,
       System.Drawing.Size strokeSize
    )

    Parameters

    brushHandle
    A System.IntPtr indicates the handle of the brush.
    regionHandle
    A System.IntPtr indicates the handle of the region.
    strokeSize
    A System.Drawing.Size that specifies the width of vertical brush strokes and the height of the horizontal brush strokes.
    Exceptions
    ExceptionDescription
    Defines an exception class to handle the system error.
    See Also