Previous Document Next Document

Object Model Reference : Classes : P : Palettes : Methods : Palettes.Open


Palettes.Open

Function Open(FileName As String) As Palette

Description

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

VBA example

The following VBA example opens the specified palette from file.

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.