ESRI.ArcGIS.ADF.Web
MakeImageTransparent Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Display.Drawing Namespace > GdiUtility Class : MakeImageTransparent Method




b
The bitmap to make transparent.
transparency
Transparent value between 0 and 1.
Return a bitmap that is a transparent copy of the original.

Syntax

Visual Basic (Declaration) 
Public Shared Function MakeImageTransparent( _
   ByVal b As Bitmap, _
   ByVal transparency As Single _
) As Bitmap
Visual Basic (Usage)Copy Code
Dim b As Bitmap
Dim transparency As Single
Dim value As Bitmap
 
value = GdiUtility.MakeImageTransparent(b, transparency)
C# 
public static Bitmap MakeImageTransparent( 
   Bitmap b,
   float transparency
)

Parameters

b
The bitmap to make transparent.
transparency
Transparent value between 0 and 1.

Return Value

Resulting bitmap.

Remarks

The Bitmap sent in will be disposed of and a new one will be returned.

Requirements

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

See Also

© 2011 All Rights Reserved.