Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NImage Class / FromFileEmbedded Method / FromFileEmbedded(String) Method
The full file path to the image file.


In This Topic
    FromFileEmbedded(String) Method
    In This Topic
    Creates an image from the file with the given full file path. The file is read as a byte array and then an image is created from this byte array, so the image does not depend on the file (i.e. it is embedded).
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromFileEmbedded( _
       ByVal fileName As System.String _
    ) As NImage
    'Usage
     
    
    Dim fileName As System.String
    Dim value As NImage
     
    value = NImage.FromFileEmbedded(fileName)
    public static NImage FromFileEmbedded( 
       System.string fileName
    )

    Parameters

    fileName
    The full file path to the image file.
    Remarks
    Note that full file paths are not available on some platforms (e.g. WebAssembly and Mac).
    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