Draws a portion of an image at a specified location.
Namespace:
PerpetuumSoft.Framework.DrawingAssembly: PerpetuumSoft.Framework (in PerpetuumSoft.Framework.dll) Version: 3.9.0.1
Syntax
C# |
---|
public void DrawImage( Image image, double x, double y, VectorRectangle srcRect, GraphicsUnit srcUnit ) |
Visual Basic (Declaration) |
---|
Public Sub DrawImage ( _ image As Image, _ x As Double, _ y As Double, _ srcRect As VectorRectangle, _ srcUnit As GraphicsUnit _ ) |
Visual C++ |
---|
public: void DrawImage( Image^ image, double x, double y, VectorRectangle srcRect, GraphicsUnit srcUnit ) |
Parameters
- image
- Type: System.Drawing..::.Image
- x
- Type: System..::.Double
- y
- Type: System..::.Double
- srcRect
- Type: PerpetuumSoft.Framework.Drawing..::.VectorRectangle
- srcUnit
- Type: System.Drawing..::.GraphicsUnit