ImageMan.Net Version 3 Summer 2012 Release
DrawRectangle(Pen,Int32,Int32,Int32,Int32) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImGraphic Class > DrawRectangle Method : DrawRectangle(Pen,Int32,Int32,Int32,Int32) 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.Integer, _
   ByVal y As System.Integer, _
   ByVal width As System.Integer, _
   ByVal height As System.Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImGraphic
Dim pen As System.Drawing.Pen
Dim x As System.Integer
Dim y As System.Integer
Dim width As System.Integer
Dim height As System.Integer
 
instance.DrawRectangle(pen, x, y, width, height)
C# 
public void DrawRectangle( 
   System.Drawing.Pen pen,
   System.int x,
   System.int y,
   System.int width,
   System.int height
)
JScript 
public function DrawRectangle( 
   pen : System.Drawing.Pen,
   x : System.int,
   y : System.int,
   width : System.int,
   height : System.int
);
Managed Extensions for C++ 
public: void DrawRectangle( 
   System.Drawing.Pen* pen,
   System.int x,
   System.int y,
   System.int width,
   System.int height
) 
C++/CLI 
public:
void DrawRectangle( 
   System.Drawing.Pen^ pen,
   System.int x,
   System.int y,
   System.int width,
   System.int 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.