Xceed Workbooks for .NET v2.0 Documentation
Parse(Int32,Color) Method


Xceed.Drawing.NET Assembly > Xceed.Drawing Namespace > Color Structure > Parse Method : Parse(Int32,Color) Method
The new Color's Alpha value. Valid values go from 0 to 255.
The Color object on which the new Color will be based.
Creates a Color based on an existing Color object, but with a new alpha value.
Syntax
'Declaration
 
Public Overloads Shared Function Parse( _
   ByVal a As Integer, _
   ByVal color As Color _
) As Color
'Usage
 
Dim a As Integer
Dim color As Color
Dim value As Color
 
value = Color.Parse(a, color)
public static Color Parse( 
   int a,
   Color color
)

Parameters

a
The new Color's Alpha value. Valid values go from 0 to 255.
color
The Color object on which the new Color will be based.
Requirements

Target Platforms: Windows 11, Windows 10, 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

Color Structure
Color Members
Overload List