Nevron Open Vision Documentation
Nevron.Nov.Diagram.Themes Namespace / NDynamicThemeColor Class / CreateAlpha Method
Alpha of the color. Must be from 0 to 1. 0 means a completely transparent color and 1 means a completely opaque color.


In This Topic
    CreateAlpha Method
    In This Topic
    Creates a dynamic theme color with the given alpha modifier factor.
    Syntax
    'Declaration
     
    
    Public Shared Function CreateAlpha( _
       ByVal colorName As ENThemeColorName, _
       ByVal alpha As System.Single _
    ) As NDynamicThemeColor
    'Usage
     
    
    Dim colorName As ENThemeColorName
    Dim alpha As System.Single
    Dim value As NDynamicThemeColor
     
    value = NDynamicThemeColor.CreateAlpha(colorName, alpha)
    public static NDynamicThemeColor CreateAlpha( 
       ENThemeColorName colorName,
       System.float alpha
    )

    Parameters

    colorName
    alpha
    Alpha of the color. Must be from 0 to 1. 0 means a completely transparent color and 1 means a completely opaque color.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also