ImageMan.Net Version 3 Summer 2012 Release
DrawImage Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImGraphic Class : DrawImage Method





img
The ImImage object to draw.
dstRect
Destination Rectangle
srcRect
Source Rectangle

Glossary Item Box

Draw an ImImage on the ImGraphics object.

Syntax

Visual Basic (Declaration) 
Public Sub DrawImage( _
   ByVal img As ImImage, _
   ByVal dstRect As System.Drawing.Rectangle, _
   ByVal srcRect As System.Drawing.Rectangle _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImGraphic
Dim img As ImImage
Dim dstRect As System.Drawing.Rectangle
Dim srcRect As System.Drawing.Rectangle
 
instance.DrawImage(img, dstRect, srcRect)
C# 
public void DrawImage( 
   ImImage img,
   System.Drawing.Rectangle dstRect,
   System.Drawing.Rectangle srcRect
)
JScript 
public function DrawImage( 
   img : ImImage,
   dstRect : System.Drawing.Rectangle,
   srcRect : System.Drawing.Rectangle
);
Managed Extensions for C++ 
public: void DrawImage( 
   ImImage* img,
   System.Drawing.Rectangle dstRect,
   System.Drawing.Rectangle srcRect
) 
C++/CLI 
public:
void DrawImage( 
   ImImage^ img,
   System.Drawing.Rectangle dstRect,
   System.Drawing.Rectangle srcRect
) 

Parameters

img
The ImImage object to draw.
dstRect
Destination Rectangle
srcRect
Source Rectangle

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.