Previous Document Next Document

Object Model Reference : Classes : P : Palette : Properties : Palette.Name


Palette.Name

Property Name As String

Description

Member of Palette

The Name property returns or specifies the name of a palette.

 
The palette name can be set with the Name property only if the palette is a custom palette.
VBA example

The following VBA example displays the name of all open palettes.

Sub Test()
 Dim s As String
 Dim pal As Palette
 s = "Open palettes:" & vbCr
 For Each pal In Palettes
  s = s & vbCr & pal.Name
 Next pal
 MsgBox s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.