Print Preview ActiveX Active Users: 21 / Visits Today: 162
Highest Active Users: 101
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
 DrawArrow - Method
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: DrawCircle - Method Topic Next Topic: DrawArc - Method  

emiel
Administrator

Belgium
327 Posts

Posted - 07/14/2005 :  18:06:27  Show Profile
Method DrawArrow

Action:

This method draws an arrow element in the current frame.

Syntax:

DrawArrow (eStart As eArrowType, vSizeStart As Variant, eEnd As eArrowType, vSizeEnd As Variant, vX1 As Variant, vY1 As Variant, vX2 As Variant, vY2 As Variant) As String

Parameter      Description                       
  • eStart Type of arrow at start
  • vSizeStart Size parameter for start arrow
  • eEnd Type of arrow at end
  • vSizeEnd Size parameter for end arrow
  • vX1 Horizontal position of line start
  • vY1 Vertical position of line start
  • vX2 Horizontal position of line end
  • vY2 Vertical position of line end
    The eStart and eEnd parameters can contain the following values:

    Constant       Value 
    
  • prARSharp 1
  • prARAngle 2
    Remarks:

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

    The vSizeStart, vSizeEnd, vX1, vY1, vX2 and vY2 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 end point of the line.

    Example:

    To draw an arrow:

    Preview.DrawArrow prARAngle,"10 pt",prARSharp, "10 pt","2.0 in", "3.0 in", "2.0 in","5.0 in"
    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:35:42
    Go to Bottom of Page
      Previous Topic: DrawCircle - Method Topic Next Topic: DrawArc - 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