Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NAdvancedGradientFill Class / Create Method
Defines the gradient colors.
Defines the point count and configuration. Must be an integer in the range [0, 15].


In This Topic
    Create Method (NAdvancedGradientFill)
    In This Topic
    Creates a new advanced gradient fill based on the specified color scheme and variant.
    Syntax
    'Declaration
     
    
    Public Shared Function Create( _
       ByVal colorScheme As ENAdvancedGradientColorScheme, _
       ByVal variant As System.Integer _
    ) As NAdvancedGradientFill
    'Usage
     
    
    Dim colorScheme As ENAdvancedGradientColorScheme
    Dim variant As System.Integer
    Dim value As NAdvancedGradientFill
     
    value = NAdvancedGradientFill.Create(colorScheme, variant)

    Parameters

    colorScheme
    Defines the gradient colors.
    variant
    Defines the point count and configuration. Must be an integer in the range [0, 15].

    Return Value

    Returns the newly created advanced gradient fill.
    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