ImageMan.Net Version 3 Summer 2012 Release
DrawRectangle(Pen,Single,Single,Single,Single) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImGraphic Class > DrawRectangle Method : DrawRectangle(Pen,Single,Single,Single,Single) Method





pen
Pen color and width
x
Left of Rectangle
y
Top of Rectangle
width
Width of Rectangle
height
Height of Rectangle

Glossary Item Box

Draw a Rectangle

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DrawRectangle( _
   ByVal pen As System.Drawing.Pen, _
   ByVal x As System.Single, _
   ByVal y As System.Single, _
   ByVal width As System.Single, _
   ByVal height As System.Single _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImGraphic
Dim pen As System.Drawing.Pen
Dim x As System.Single
Dim y As System.Single
Dim width As System.Single
Dim height As System.Single
 
instance.DrawRectangle(pen, x, y, width, height)
C# 
public void DrawRectangle( 
   System.Drawing.Pen pen,
   System.float x,
   System.float y,
   System.float width,
   System.float height
)
JScript 
public function DrawRectangle( 
   pen : System.Drawing.Pen,
   x : System.float,
   y : System.float,
   width : System.float,
   height : System.float
);
Managed Extensions for C++ 
public: void DrawRectangle( 
   System.Drawing.Pen* pen,
   System.float x,
   System.float y,
   System.float width,
   System.float height
) 
C++/CLI 
public:
void DrawRectangle( 
   System.Drawing.Pen^ pen,
   System.float x,
   System.float y,
   System.float width,
   System.float height
) 

Parameters

pen
Pen color and width
x
Left of Rectangle
y
Top of Rectangle
width
Width of Rectangle
height
Height of 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.