ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / FillRegion Method
A System.IntPtr indicates the handle of the brush.
A System.IntPtr indicates the handle of the region.

In This Topic
    FillRegion Method (DeviceContext)
    In This Topic
    Fills the region by the specified brush.
    Syntax
    'Declaration
     
    
    Public Overridable Sub FillRegion( _
       ByVal brushHandle As IntPtr, _
       ByVal regionHandle As IntPtr _
    ) 
    public virtual void FillRegion( 
       IntPtr brushHandle,
       IntPtr regionHandle
    )

    Parameters

    brushHandle
    A System.IntPtr indicates the handle of the brush.
    regionHandle
    A System.IntPtr indicates the handle of the region.
    Exceptions
    ExceptionDescription
    Defines an exception class to handle the system error.
    See Also