Previous Document Next Document
Palettes.Open

Function Open(FileName As String) As Palette

Member of Palettes

The Open method opens an existing custom color palette.

Parameters
Description
FileName
Specifies the full path name (with a .cpl extension) of a color palette

The following code example opens the specified palette from file:

Sub Test() 
 Palettes.Open Application.SetupPath & "Custom\coreldrw.cpl" 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.