ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / Copy Method / Copy(Graphics,Rectangle,Rectangle) Method
The source Graphics object.
A System.Drawing.Rectangle indicates the destination rectangle.
A System.Drawing.Rectangle indicates the source rectangle.

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

    Parameters

    graphics
    The source Graphics object.
    destRectangle
    A System.Drawing.Rectangle indicates the destination rectangle.
    srcRectangle
    A System.Drawing.Rectangle indicates the source rectangle.
    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