Xceed Words for .NET v5.0 Documentation
Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / Image Class / FromFile Method
The path that will be used to create the Image.


In This Topic
    FromFile Method (Image)
    In This Topic
    Creates an Image from a file's path.
    Syntax
    'Declaration
     
    Public Shared Function FromFile( _
       ByVal file As String _
    ) As Image
    'Usage
     
    Dim file As String
    Dim value As Image
     
    value = Image.FromFile(file)
    public static Image FromFile( 
       string file
    )

    Parameters

    file
    The path that will be used to create the Image.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also