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





pen
Pen color and width
rect
The rectangle to draw.

Glossary Item Box

Draw a Rectangle

Syntax

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

Parameters

pen
Pen color and width
rect
The rectangle to draw.

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.