Visual Basic (Declaration) | |
---|---|
Public Overloads Sub DrawImage( _ ByVal image As Image, _ ByVal destRect As Rectangle, _ ByVal srcX As Integer, _ ByVal srcY As Integer, _ ByVal srcWidth As Integer, _ ByVal srcHeight As Integer, _ ByVal srcUnit As GraphicsUnit, _ ByVal imageAttr As ImageAttributes _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void DrawImage( Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr ) |
Parameters
- image
- destRect
- srcX
- srcY
- srcWidth
- srcHeight
- srcUnit
- imageAttr
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family