This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarPalette Interface > IToolbarPalette.IconSize Property (ArcObjects .NET 10.5 SDK) |
Indicates the size in pixels of icons displayed on the ToolbarPalette.
[Visual Basic .NET] Public Property IconSize As Integer
[C#] public int IconSize {get; set;}
[C++]
HRESULT get_IconSize(
long* pVal
);
[C++]
HRESULT put_IconSize(
long pVal
);
[C++]
Parameters pVal [out, retval] pVal is a parameter of type long pVal [in] pVal is a parameter of type long
The size in pixels that each item on the ToolbarPalette will display the ICommand::Bitmap property. By default bitmaps are stretched to a size of 16 x 16 pixels. The minimum IconSize allowed is 8.
If the ToolbarPalette has also been added to the ToolbarControl, the ToolbarControl will override the IconSize property with the IToolbarControl2::IconSize property, before the ToolbarPalette is displayed with the IToolbarPalette::PopupPalette method.
1067 800a042b: The specified size is invalid