Accusoft.PrintProSdk Namespace > Draw Class > RoundRectangle Method : RoundRectangle(RectangleF,Single) Method |
'Declaration Public Overloads Sub RoundRectangle( _ ByVal boundingBox As RectangleF, _ ByVal roundSize As Single _ )
'Usage Dim instance As Draw Dim boundingBox As RectangleF Dim roundSize As Single instance.RoundRectangle(boundingBox, roundSize)
public void RoundRectangle( RectangleF boundingBox, float roundSize )
public: void RoundRectangle( RectangleF boundingBox, float roundSize )
public: void RoundRectangle( RectangleF boundingBox, float roundSize )
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.