Object Model Reference : Classes : P : Palette : Methods : Palette.Save |
Sub Save()
Member of Palette
The Save method saves the changes to a color palette.
The following VBA example adds a brown color to the default palette and saves the changed palette.
Sub Test() |
Dim c As New Color |
c.RGBAssign 128, 0, 0 |
ActivePalette.InsertColor 1, c |
ActivePalette.Save |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.