Draws the specified portion of the specified Image object at the specified location and with the specified size.
Namespace:
PerpetuumSoft.Framework.DrawingAssembly: PerpetuumSoft.Framework (in PerpetuumSoft.Framework.dll) Version: 3.9.0.1
Syntax
C# |
---|
public void DrawImage( Image image, Vector location, VectorRectangle srcRect, GraphicsUnit srcUnit ) |
Visual Basic (Declaration) |
---|
Public Sub DrawImage ( _ image As Image, _ location As Vector, _ srcRect As VectorRectangle, _ srcUnit As GraphicsUnit _ ) |
Visual C++ |
---|
public: void DrawImage( Image^ image, Vector location, VectorRectangle srcRect, GraphicsUnit srcUnit ) |
Parameters
- image
- Type: System.Drawing..::.Image
- location
- Type: PerpetuumSoft.Framework.Drawing..::.Vector
- srcRect
- Type: PerpetuumSoft.Framework.Drawing..::.VectorRectangle
- srcUnit
- Type: System.Drawing..::.GraphicsUnit