Print Preview ActiveX Active Users: 7 / Visits Today: 24
Highest Active Users: 7
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
 DrawEllipse - Method
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: PageInsideWidth - Property Topic Next Topic: DrawCircle - Method  

emiel
Administrator

Belgium
327 Posts

Posted - 07/15/2005 :  08:53:50  Show Profile
Method DrawEllipse

Action:

This method adds an ellipse element to the current frame.

Syntax:

DrawEllipse (vXpos As Variant, vYpos As Variant, vXrad As Variant, vYrad As Variant) As String

Parameter      Description                         
  • vXpos Horizontal position of center point
  • vYpos Vertical position of center point
  • vXrad Horizontal radius of the ellipse
  • vYrad Vertical radius of the ellipse
    Remarks:

    This method draws an ellipse element in the current frame. When the ellipse is drawn, the values of the current style are used to determine linewidth, color and fill.

    The vXpos, vYpos, vXrad and vYrad parameters may either be numbers, which are taken to be values in twips, or a string. If a parameter is specified as a string then it is converted to twips using the C_Twips function.

    After the completion of the method the values of CurrentX and CurrentY are set to the center of the ellipse.

    Example:

    To draw an ellipse:

    Preview.DrawEllipse "2.0 in", "3.0 in", "2 cm", "3 cm"
    See Also:

    DrawCircle -> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=354
    DrawArc -----> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=426

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

    Edited by - emiel on 08/09/2005 09:48:06
    Go to Bottom of Page
      Previous Topic: PageInsideWidth - Property Topic Next Topic: DrawCircle - 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