Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NPaintVisitor Class / SetFill Method / SetFill(ENGradientStyle,ENGradientVariant,NColor,NColor) Method


In This Topic
    SetFill(ENGradientStyle,ENGradientVariant,NColor,NColor) Method
    In This Topic
    Sets the current fill to a stock gradient fill with the specified settings.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetFill( _
       ByVal gradStyle As ENGradientStyle, _
       ByVal gradVar As ENGradientVariant, _
       ByVal beginColor As NColor, _
       ByVal endColor As NColor _
    ) 
    'Usage
     
    
    Dim instance As NPaintVisitor
    Dim gradStyle As ENGradientStyle
    Dim gradVar As ENGradientVariant
    Dim beginColor As NColor
    Dim endColor As NColor
     
    instance.SetFill(gradStyle, gradVar, beginColor, endColor)

    Parameters

    gradStyle
    gradVar
    beginColor
    endColor
    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