Xceed Words for .NET v5.0 Documentation
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.


In This Topic
    Parse(Int32,Color) Method
    In This Topic
    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, 11, 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