|
| ESRI.ArcGIS.ADF.Web | |
| MapColor Method | |
| See Also Send Feedback | |
| ESRI.ArcGIS.ADF.Web.Display.Drawing Namespace > GdiUtility Class : MapColor Method |
- b
- The bitmap of which color to map.
- oldColor
- The color you want replaced.
- newColor
- The new color.
| Visual Basic (Declaration) | |
|---|---|
Public Shared Function MapColor( _ ByVal b As Bitmap, _ ByVal oldColor As Color, _ ByVal newColor As Color _ ) As Bitmap | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim b As Bitmap Dim oldColor As Color Dim newColor As Color Dim value As Bitmap value = GdiUtility.MapColor(b, oldColor, newColor) | |
Parameters
- b
- The bitmap of which color to map.
- oldColor
- The color you want replaced.
- newColor
- The new color.
Return Value
Resulting bitmap.The Bitmap sent in will be disposed of and a new one will be returned.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family