ComponentOne MultiSelect for WinForms
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 IntPtr, _
       ByVal regionHandle As IntPtr, _
       ByVal strokeSize As Size _
    ) 
    public virtual void FillRegionFrame( 
       IntPtr brushHandle,
       IntPtr regionHandle,
       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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also