Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NImageFormat Class / GetFromFileName Method


In This Topic
    GetFromFileName Method (NImageFormat)
    In This Topic
    Returns the image format of the given file or null if the image format is not currently supported by NOV.
    Syntax
    'Declaration
     
    
    Public Shared Function GetFromFileName( _
       ByVal fileName As System.String _
    ) As NImageFormat
    'Usage
     
    
    Dim fileName As System.String
    Dim value As NImageFormat
     
    value = NImageFormat.GetFromFileName(fileName)
    public static NImageFormat GetFromFileName( 
       System.string fileName
    )

    Parameters

    fileName
    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