Nevron Open Vision Documentation
Nevron.Nov.Diagram.Themes Namespace / NThemeFill Class / ToFill Method
The styleable element this theme fill is used in, for example a shape or a style preview.


In This Topic
    ToFill Method (NThemeFill)
    In This Topic
    Converts this theme fill to an NFill instance.
    Syntax
    'Declaration
     
    
    Public MustOverride Function ToFill( _
       ByVal styleableElement As INStyleableElement _
    ) As NFill
    'Usage
     
    
    Dim instance As NThemeFill
    Dim styleableElement As INStyleableElement
    Dim value As NFill
     
    value = instance.ToFill(styleableElement)
    public abstract NFill ToFill( 
       INStyleableElement styleableElement
    )

    Parameters

    styleableElement
    The styleable element this theme fill is used in, for example a shape or a style preview.
    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