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.

    See Also