Print Preview ActiveX Active Users: 22 / Visits Today: 22
Highest Active Users: 22
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
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  

emiel
Administrator

Belgium
327 Posts

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

Action:

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

Syntax:

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

Remarks:

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.

Example:

To draw a rectangle with round corners of 1 cm :

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

See Also:

DrawLine ->


Come and visit :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com





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.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02