Accusoft.PrintPro8.Net
RoundRectangle(Point,Point,Int32) Method




the upper-left coordinate
the lower-right coordinate
A single-precision value that specifies the width and height of the ellipse used to draw the rounded corners. A negative value has the same effect as a positive value.
Draws a black 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 upperLeft As Point, _
   ByVal lowerRight As Point, _
   ByVal roundSize As Integer _
) 
'Usage
 
Dim instance As Draw
Dim upperLeft As Point
Dim lowerRight As Point
Dim roundSize As Integer
 
instance.RoundRectangle(upperLeft, lowerRight, roundSize)
public void RoundRectangle( 
   Point upperLeft,
   Point lowerRight,
   int roundSize
)
public: void RoundRectangle( 
   Point upperLeft,
   Point lowerRight,
   int roundSize
) 
public:
void RoundRectangle( 
   Point upperLeft,
   Point lowerRight,
   int roundSize
) 

Parameters

upperLeft
the upper-left coordinate
lowerRight
the lower-right coordinate
roundSize
A single-precision value that specifies the width and height of the ellipse used to draw the rounded corners. A negative value has the same effect as a positive value.
See Also

Reference

Draw Class
Draw Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback