Previous Document Next Document

Object Model Reference : Classes : P : Palette : Methods : Palette.Save


Palette.Save

Sub Save()

Description

Member of Palette

The Save method saves the changes to a color palette.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.