Previous Document Next Document

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


Outline.Width

Property Width As Double

Description

Member of Outline

The Width property returns or specifies the width, in points, of a shape’s outline. Assigning a value to this property automatically adds an outline to the shape if one does not already exist.

VBA example

The following VBA 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 2013 Corel Corporation. All rights reserved.