Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NImage Class / FromFileEmbedded Method / FromFileEmbedded(NFile) Method


In This Topic
    FromFileEmbedded(NFile) Method
    In This Topic
    Creates an image from the given file. 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 file As NFile _
    ) As NImage
    'Usage
     
    
    Dim file As NFile
    Dim value As NImage
     
    value = NImage.FromFileEmbedded(file)
    public static NImage FromFileEmbedded( 
       NFile file
    )

    Parameters

    file
    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