Input for WinForms | ComponentOne
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / RawDeviceContext 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 Sub FillRectangle( _
       ByVal rectangle As Rectangle, _
       ByVal rasterOperationCode As RasterOperationCode _
    ) 

    Parameters

    rectangle
    A System.Drawing.Rectangle indicates the rectangle to fill.
    rasterOperationCode
    A RasterOperationCode indicates the rester operation code.
    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