ComponentOne CalendarView 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.
    See Also