ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / GdiplusGraphicDeviceContext Class / Copy Method / Copy(DeviceContext,Rectangle,Rectangle,RasterOperationCode) Method
The source DeviceContext object.
A System.Drawing.Rectangle indicates the destination rectangle.
A System.Drawing.Rectangle indicates the source rectangle.
A DeviceContext.RasterOperationCode indicates the raster operation code.

In This Topic
    Copy(DeviceContext,Rectangle,Rectangle,RasterOperationCode) Method
    In This Topic
    Performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source DeviceContext object into a destination DeviceContext object.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub Copy( _
       ByVal deviceContext As DeviceContext, _
       ByVal destRectangle As Rectangle, _
       ByVal srcRectangle As Rectangle, _
       ByVal rop As RasterOperationCode _
    ) 
    public virtual void Copy( 
       DeviceContext deviceContext,
       Rectangle destRectangle,
       Rectangle srcRectangle,
       RasterOperationCode rop
    )

    Parameters

    deviceContext
    The source DeviceContext object.
    destRectangle
    A System.Drawing.Rectangle indicates the destination rectangle.
    srcRectangle
    A System.Drawing.Rectangle indicates the source rectangle.
    rop
    A DeviceContext.RasterOperationCode indicates the raster operation code.
    Remarks

    Copy only does clipping on the destination DC.

    See Also