Hide Table of Contents
IconList Property (ICommandGroup)

Gets or sets the paths for the icons for the toolbar buttons and separators for this CommandGroup.

.NET Syntax

Visual Basic (Declaration) 
Property IconList As System.Object
Visual Basic (Usage) 
Dim instance As ICommandGroup
Dim value As System.Object
 
instance.IconList = value
 
value = instance.IconList
C# 
System.object IconList {get; set;}
C++/CLI 
property System.Object^ IconList {
   System.Object^ get();
   void set ( &   System.Object^ value);
}

Property Value

Array of strings of the paths for the icons for the toolbar buttons and separators for this CommandGroup (see Remarks)

Example

Remarks

This property supports scaling for high resolution screens with high resolution operating system scaling options.

The array of strings of the paths to the image files can contain icons of the following sizes:

  • 20 x 20 pixels
  • 32 x 32 pixels
  • 40 x 40 pixels
  • 64 x 64 pixels
  • 96 x 96 pixels
  • 128 x128 pixels 

Each image file (.bmp or .png) should contain all of the same-size icons for all of the buttons and separators for both parent and child toolbars. For example:

Each icon strip should use a 256-color palette.

The order in which you specify the icons must be the same for this property and ICommandGroup::MainIconList. For example, if you specify an array of paths to 20 x 20 pixels, 32 x 32 pixels, and 40 x 40 pixels icons for this property, then you must specify an array of paths to 20 x 20 pixels, 32 x 32 pixels, and 40 x 40 pixels icons for ICommandGroup::MainIconList. 

See Also

Availability

SOLIDWORKS 2016 FCS, Revision Number 24.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   IconList Property (ICommandGroup)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2017 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.