ImageMan.Net Version 3 Summer 2012 Release
DrawRoundedRectangle(Pen,Int32,Int32,Int32,Int32,Int32) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImGraphic Class > DrawRoundedRectangle Method : DrawRoundedRectangle(Pen,Int32,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
radius
The radius of the corners in pixels.

Glossary Item Box

Draw a Rounded Rectangle

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DrawRoundedRectangle( _
   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, _
   ByVal radius 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
Dim radius As System.Integer
 
instance.DrawRoundedRectangle(pen, x, y, width, height, radius)
C# 
public void DrawRoundedRectangle( 
   System.Drawing.Pen pen,
   System.int x,
   System.int y,
   System.int width,
   System.int height,
   System.int radius
)
JScript 
public function DrawRoundedRectangle( 
   pen : System.Drawing.Pen,
   x : System.int,
   y : System.int,
   width : System.int,
   height : System.int,
   radius : System.int
);
Managed Extensions for C++ 
public: void DrawRoundedRectangle( 
   System.Drawing.Pen* pen,
   System.int x,
   System.int y,
   System.int width,
   System.int height,
   System.int radius
) 
C++/CLI 
public:
void DrawRoundedRectangle( 
   System.Drawing.Pen^ pen,
   System.int x,
   System.int y,
   System.int width,
   System.int height,
   System.int radius
) 

Parameters

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