Accusoft.PrintPro8.Net
RoundRectangle(Rectangle,Int32,Int32,Color) Method




The location of the rectangle
A single-precision value that specifies the width of the ellipse used to draw the rounded corners. A negative value has the same effect as its positive counterpart.
A single-precision value that specifies the height of the ellipse used to draw the rounded corners. A negative value has the same effect as its positive counterpart.
Color of the circle’s outline
Draws a rectangle with rounded corners on printer The coordinates of the round rectangle must be within the physical area of the printer. To fill a rounded rectangle, set the FillColor and FillStyle properties of the object on which the rectangle is drawn. The width of the line used to draw the rectangle depends on the setting of the Width property. The way the rectangle is drawn on the background depends on the setting of the Mode and Style properties
Syntax
'Declaration
 
Public Overloads Sub RoundRectangle( _
   ByVal boundingBox As Rectangle, _
   ByVal roundWidth As Integer, _
   ByVal roundHeight As Integer, _
   ByVal color As Color _
) 
'Usage
 
Dim instance As Draw
Dim boundingBox As Rectangle
Dim roundWidth As Integer
Dim roundHeight As Integer
Dim color As Color
 
instance.RoundRectangle(boundingBox, roundWidth, roundHeight, color)
public void RoundRectangle( 
   Rectangle boundingBox,
   int roundWidth,
   int roundHeight,
   Color color
)
public: void RoundRectangle( 
   Rectangle boundingBox,
   int roundWidth,
   int roundHeight,
   Color color
) 
public:
void RoundRectangle( 
   Rectangle boundingBox,
   int roundWidth,
   int roundHeight,
   Color color
) 

Parameters

boundingBox
The location of the rectangle
roundWidth
A single-precision value that specifies the width of the ellipse used to draw the rounded corners. A negative value has the same effect as its positive counterpart.
roundHeight
A single-precision value that specifies the height of the ellipse used to draw the rounded corners. A negative value has the same effect as its positive counterpart.
color
Color of the circle’s outline
See Also

Reference

Draw Class
Draw Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback