Draws the specified portion of the specified .NET Image object at the specified location and with the specified size.
Namespace: MindFusion.Drawing
Package: MindFusion.Common
Syntax
C#
Copy Code
|
---|
public void DrawImage ( Image image, Rectangle destRect, int srcX, int srcY, int srcWidth, int srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, Graphics.DrawImageAbort callback, IntPtr callbackData ) |
Visual Basic
Copy Code
|
---|
Public Sub DrawImage( _ image As Image, _ destRect As Rectangle, _ srcX As Integer, _ srcY As Integer, _ srcWidth As Integer, _ srcHeight As Integer, _ srcUnit As GraphicsUnit, _ imageAttrs As ImageAttributes, _ callback As Graphics.DrawImageAbort, _ callbackData As IntPtr _ ) |
Parameters
See Also