Print Preview ActiveX Active Users: 21 / Visits Today: 1215
Highest Active Users: 98
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 DrawRoundRect - Function
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: DrawSymbol - Method Topic Next Topic: DrawPSet - Method  


327 Posts

Posted - 07/15/2005 :  12:37:09  Show Profile
Function DrawRoundRect


This Function adds a corner-rounded rectangle element to the current frame.


DrawRoundRect (lXpos1 As Long, lYpos1 As Long, lXpos2 As Long, lYpos2 As Long, lRad As Long) As String

Parameter --- Description

lXpos1 --- Horizontal coordinate lefttop corner
lYpos1 --- Horizontal coordinate lefttop corner
lXpos2 --- Horizontal coordinate rightbottom corner
lYpos2 --- Vertical coordinate rightbottom corner
lRad --- Radius of corners


All parameters are assumed to be in twips. String value as "1 in" will be converted to twips.

Although you can draw a rectangle with square corners when the lRad is set to zero, it is advisable to use the DrawLine method.


To draw a rectangle with round corners of 1 cm :

Preview.DrawRoundRect 1000, 3000, 4000, 5000, 567

See Also:

DrawLine ->

Come and visit :

Edited by - emiel on 07/15/2005 12:39:08
Go to Bottom of Page
  Previous Topic: DrawSymbol - Method Topic Next Topic: DrawPSet - Method  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.02