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


327 Posts

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


This method adds an ellipse element to the current frame.


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

    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.


    To draw an ellipse:

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

    DrawCircle ->
    DrawArc ----->

    Come and visit :

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