ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext 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.
    Exceptions
    ExceptionDescription
    Defines an exception class to handle the system error.
    Remarks

    Copy only does clipping on the destination DC.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also