![]() |
![]() |
Palettes.Item
Property Item(IndexOrName As Variant) As Palette
Member of Palettes
The Item property returns the specified Palette object from the collection.
The Item property is the default property, and its reference can be omitted when accessing an item in the collection. For example, Palettes.Item(2)
is the same as Palettes(2)
they both reference the second palette in the Palettes collection.
The Item property returns a read-only value.
Parameters
|
Description
|
IndexOrName
|
Specifies an item by its index or name:
Index Acts as a preset placeholder for each object in the Palettes collection, uniquely identifying each member of the collection
Name Represents the unique string value that identifies each color palette
|
The following code example closes the palette that was opened first. You can also reference it using Palettes(1).Close
:
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.