Previous Document Next Document
Outline.Width

Property Width As Double

Member of Outline

The Width property returns or sets the width, in points, of a shape’s outline.

Assigning a value to this property automatically adds an outline to the shape if it does not already exist.

The following code example creates an ellipse with an outline that is 0.1" in width:

Sub Test() 
 Dim s As Shape 
 Set s = ActiveLayer.CreateEllipse2(4, 4, 2) 
 s.Outline.Width = 0.1 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.