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





img
The ImImage object to draw.
r
The rectangle on the ImGraphic object to draw the ImImage.

Glossary Item Box

Draw and clip and unscaled ImImage on the ImGraphics object.

Syntax

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

Parameters

img
The ImImage object to draw.
r
The rectangle on the ImGraphic object to draw the ImImage.

Remarks

Note that the Rectangle is where the image is going to end up. The source will start at Left Top of X = 0 and Y = 0. To have an offset you may wish to use the Crop command.

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.