Previous Document Next Document
Palette.Save

Sub Save()

Member of Palette

The Save method saves changes to a color palette.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.