BCGControlBar Library for .NET
PixelAlpha(Color,Int32) Method




The color of the pixel to set the alpha value.
The alpha value to set.
Sets alpha value for a current color.
Syntax
'Declaration
 
Public Overloads Shared Function PixelAlpha( _
   ByVal srcPixel As Color, _
   ByVal percent As Integer _
) As Color
'Usage
 
Dim srcPixel As Color
Dim percent As Integer
Dim value As Color
 
value = DrawManager.PixelAlpha(srcPixel, percent)
public static Color PixelAlpha( 
   Color srcPixel,
   int percent
)
public: static Color PixelAlpha( 
   Color srcPixel,
   int percent
) 
public:
static Color PixelAlpha( 
   Color srcPixel,
   int percent
) 

Parameters

srcPixel
The color of the pixel to set the alpha value.
percent
The alpha value to set.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DrawManager Class
DrawManager Members
Overload List

Send Feedback