ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / 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 System.IntPtr, _
       ByVal regionHandle As System.IntPtr _
    ) 
    public virtual void FillRegion( 
       System.IntPtr brushHandle,
       System.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