Copy(Graphics,Rectangle,Point) 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 As Graphics, _
ByVal As Rectangle, _
ByVal As Point _
)
public void Copy(
Graphics ,
Rectangle ,
Point
)
Parameters
- graphics
- A Graphics indicate the source Graphics object
- destRectangle
- A System.Drawing.Rectangle indicates the destination rectangle.
- srcPoint
- A System.Drawing.Point indicates the upper-left corner of source rectangle. The width and height of source rectangle are same as the destination rectangle.
Exceptions
Exception | Description |
C1.Framework.SystemErrorException | Defines an exception class to handle the system error. |
See Also