Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NFill Class / GetPrimaryColor Method


In This Topic
    GetPrimaryColor Method (NFill)
    In This Topic
    Gets the primary color of the fill. Must be overriden in fill types for which a primary color can be defined.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetPrimaryColor() As NColor
    'Usage
     
    
    Dim instance As NFill
    Dim value As NColor
     
    value = instance.GetPrimaryColor()
    public virtual NColor GetPrimaryColor()

    Return Value

    Returns the primary 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