Object Model Reference : Classes : P : Palettes : Methods : Palettes.Open |
Function Open(FileName As String) As Palette
Member of Palettes
The Open method opens an existing custom color palette.
Parameter
|
Description
|
FileName
|
Specifies the full path name (with a .xml extension) of the color palette
|
The following VBA example opens the specified palette from file.
Sub Test() |
Palettes.Open Application.SetupPath & "Custom\coreldrw.xml" |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.