ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / FillRectangle Method / FillRectangle(Rectangle,RasterOperationCode) Method
A System.Drawing.Rectangle indicates the rectangle to fill.
A RasterOperationCode indicates the rester operation code.

In This Topic
    FillRectangle(Rectangle,RasterOperationCode) Method
    In This Topic
    Fills the specified rectangle by using the current brush of device context.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub FillRectangle( _
       ByVal rectangle As Rectangle, _
       ByVal rasterOperationCode As RasterOperationCode _
    ) 
    public virtual void FillRectangle( 
       Rectangle rectangle,
       RasterOperationCode rasterOperationCode
    )

    Parameters

    rectangle
    A System.Drawing.Rectangle indicates the rectangle to fill.
    rasterOperationCode
    A RasterOperationCode indicates the rester operation code.
    Exceptions
    ExceptionDescription
    Defines an exception class to handle the system error.
    Remarks
    Not all devices support the this function. For more information, see the description of the RC_BITBLT capability in the GetDeviceCaps function.
    See Also