ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / ControlDeviceContext Class / FillRectangle Method / FillRectangle(Rectangle,RasterOperationCode) Method
A System.Drawing.Rectangle indicates the rectangle to fill.
A DeviceContext.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 DeviceContext.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