ESRI.ArcGIS.ADF.Local
UpdateBitmap Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.BaseClasses Namespace > BaseCommand Class : UpdateBitmap Method




bitmap
A 16 by 16 Bitmap to represent the command. The color of the upper left pixel of the bitmap will be treated as the transparent color. This bitmap will replace any existing bitmap for the command.
Changes the Bitmap for the command. Call this method to update the icon used for the command at runtime, after the command has already been instantiated.

Syntax

Visual Basic (Declaration) 
Public Sub UpdateBitmap( _
   ByVal bitmap As Bitmap _
) 
Visual Basic (Usage)Copy Code
Dim instance As BaseCommand
Dim bitmap As Bitmap
 
instance.UpdateBitmap(bitmap)
C# 
public void UpdateBitmap( 
   Bitmap bitmap
)

Parameters

bitmap
A 16 by 16 Bitmap to represent the command. The color of the upper left pixel of the bitmap will be treated as the transparent color. This bitmap will replace any existing bitmap for the command.

See Also

© 2010 All Rights Reserved.