Input for WinForms | ComponentOne
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 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 _
    ) 

    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 RasterOperationCode indicates the raster operation code.
    Remarks

    Copy only does clipping on the destination DC.

    See Also