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





pen
Pen color and width
rect
The rectangle to draw.
radius
The radius of the corners in pixels.

Glossary Item Box

Draws a rectangle with rounded corners with a border drawn using the specified pen.

Syntax

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

Parameters

pen
Pen color and width
rect
The rectangle to draw.
radius
The radius of the corners in pixels.

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.