Previous Document Next Document

Object Model Reference : Classes : O : OutlineStyles : Methods : OutlineStyles.Save


OutlineStyles.Save

Sub Save()

Description

Member of OutlineStyles

The Save method saves the list of outline styles. Calling this method after modifying the list of outline styles ensures that the changes are available the next time you start CorelDRAW.

VBA example

The following VBA example creates a custom outline style based on the second outline in the collection. The changes are then saved.

Sub Test()
 Dim stl As OutlineStyle
 Set stl = OutlineStyles.AddStyle(OutlineStyles(2))
 stl.DashLength(1) = 3
 OutlineStyles.Save
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.