Object Model Reference : Classes : P : Palettes : Properties : Palettes.Item |
Property Item(IndexOrName As Variant) As Palette
Member of Palettes
The Item property returns the specified Palette object from a Palettes collection. It is the default property of the Palettes class.
The Item property returns a read-only value.
The following VBA example closes the palette that was opened first.
Sub Test() |
Palettes.Item(1).Close |
End Sub |
Sub Test() |
Palettes("Default CMYK palette").Close |
End Sub |
• |
You can also reference the first-opened palette by using Palettes(1).Close.
|
Copyright 2013 Corel Corporation. All rights reserved.