Previous Document Next Document

Object Model Reference : Classes : O : Outline : Properties : Outline.StartArrow


Outline.StartArrow

Property StartArrow As ArrowHead

Description

Member of Outline

The StartArrow property represents the starting arrowhead for an outline.

VBA example

The following VBA example replaces all starting arrowheads that are represented by the third arrow from the arrowhead list with the fifth arrowhead from the list. The color of the outline of the shape is changed to red.

Sub Test()
 Dim s As Shape
 For Each s In ActivePage.Shapes
  With s.Outline
   If .Type = cdrOutline Then
    If .StartArrow.Index = 3 Then
     .StartArrow = ArrowHeads(5)
     .Color.RGBAssign 255, 0, 0
    End If
   End If
  End With
 Next s
End Sub
Sub Test()
 Dim s As Shape
 For Each s In ActivePage.Shapes
  If s.Outline.Type = cdrOutline Then
   s.Outline.StartArrow = Nothing
   s.Outline.EndArrow = Nothing
  End If
 Next s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.