Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NFill Class / CreatePredefined Method
A pattern defining the fill type.
Primary color.
Secondary color.


In This Topic
    CreatePredefined Method (NFill)
    In This Topic
    Creates a fill from the specified pattern and two colors.
    Syntax
    'Declaration
     
    
    Public Shared Function CreatePredefined( _
       ByVal pattern As ENPredefinedFillPattern, _
       ByVal primaryColor As NColor, _
       ByVal secondaryColor As NColor _
    ) As NFill
    'Usage
     
    
    Dim pattern As ENPredefinedFillPattern
    Dim primaryColor As NColor
    Dim secondaryColor As NColor
    Dim value As NFill
     
    value = NFill.CreatePredefined(pattern, primaryColor, secondaryColor)

    Parameters

    pattern
    A pattern defining the fill type.
    primaryColor
    Primary color.
    secondaryColor
    Secondary color.

    Return Value

    A reference to the new fill object.
    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