Properties
- Property HeadSymbol() As
-
Returns or sets symbol type of head side.
- Example:
-
This example retrieves the symbol type of head side on MyArrow drawing arrow.
oSymbol = MyArrow.HeadSymbol
- Property HeadTarget() As
-
Returns or sets target element of head side.
- Example:
-
This example retrieves the target element of head side on MyArrow drawing arrow.
oTarget = MyArrow.HeadTarget
- Property NbInterruption() As (Read Only)
-
Returns the number of interruptions of arrow path.
- Example:
-
This example retrieves the number of interruptions on MyArrow drawing arrow.
oNbInterruption = MyArrow.NbInterruption
- Property NbPoint() As (Read Only)
-
Returns the number of points of arrow path.
- Example:
-
This example retrieves the number of points on MyArrow drawing arrow.
oNbPoint = MyArrow.NbPoint
- Property ScaleOnExtremities() As
-
Returns or sets the scale on extremities mode.
- Example:
-
This example retrieves the target element of head side on MyArrow drawing arrow.
oScaleOnExtremities = MyArrow.ScaleOnExtremities
- Property TailSymbol() As
-
Returns or sets symbol type of tail side.
- Example:
-
This example retrieves the symbol type of tail side on MyArrow drawing arrow.
oSymbol = MyArrow.TailSymbol
- Property TailTarget() As
-
Returns or sets target element of tail side.
- Example:
-
This example retrieves the target element of tail side on MyArrow drawing arrow.
oTarget = MyArrow.TailTarget
Methods
- Sub AddInterruption( iFirstPointX, iFirstPointY, iSecondPointX, iSecondPointY)
-
Add an interruption to an arrow.
- Parameters:
-
- iFirstPointX
- X coordinates of first point. dd>
- iFirstPointY
- Y coordinates of first point. dd>
- iSecondPointX
- X coordinates of second point. dd>
- iSecondPointY
- Y coordinates of second point.
- Example:
-
This example adds an interruption to MyArrow.
iFirstPointX = 10. iFirstPointY = 20. iSecondPointX = 20. iSecondPointY = 20. MyArrow.AddInterruption iFirstPointX, iFirstPointY, iSecondPointX, iSecondPointY
- Parameters:
-
- iNum
- Point number. Point will be inserted at iNum+1 position. dd>
- iX
- X coordinates of point to add. dd>
- iY
- Y coordinates of point to add.
- Example:
-
This example adds a point to MyArrow.
iNum = 1 iX = 10. iY = 20. MyArrow.AddPoint iNum, iX, iY
- Parameters:
-
- oInterruptions
- List of interruptions coordinates (X1,Y1,X2,Y2,.....Xn,Yn). dd>
- Returns:
- oNbInterruptions Number of interruptions.
- Example:
-
This example gets interruptions of MyArrow path.
oNbInterruptions = MyArrow.GetInterruptions(oInterruptions)
- Parameters:
-
- iNum
- Point number. dd>
- oX
- X coordinates of point. dd>
- oY
- Y coordinates of point.
- Example:
-
This example gets a point to MyArrow.
iNum = 1 MyArrow.GetPoint(iNum, oX, oY)
- Parameters:
-
- oPoints
- List of points coordinates (X1,Y1,X2,Y2,.....Xn,Yn). dd>
- Returns:
- oNbPoints Number of points.
- Example:
-
This example gets points of MyArrow path.
oNbPoints = MyArrow.GetPoints(oPoints)
- Parameters:
-
- iNum
- Point number to modify. dd>
- iX
- X coordinates of new point. dd>
- iY
- Y coordinates of new point.
- Example:
-
This example modifys a point to MyArrow.
iNum = 1 iX = -10. iY = -20. MyArrow.ModifyPoint iNum, iX, iY
- Parameters:
-
- iNum
- Interruption number to delete.
- - If iNum equals to 0, all interruptions will be removed.
- Example:
-
This example removes an interruption from MyArrow.
iNum = 2 MyArrow.RemoveInterruption iNum
- Parameters:
-
- iNum
- Point number to delete.
- Example:
-
This example removes a point from MyArrow.
iNum = 2 MyArrow.RemovePoint iNum