Nevron .NET Vision
Nevron.SmartShapes Namespace / NSmartShapeDocumentSerializer Class / LoadFromFile Method / LoadFromFile(String) Method
file to load from (the extension determines the format)


In This Topic
    LoadFromFile(String) Method
    In This Topic
    Loads a document from the specified file
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function LoadFromFile( _
       ByVal fileName As System.String _
    ) As NSmartShapeDocument
    'Usage
     
    
    Dim instance As NSmartShapeDocumentSerializer
    Dim fileName As System.String
    Dim value As NSmartShapeDocument
     
    value = instance.LoadFromFile(fileName)
    public virtual NSmartShapeDocument LoadFromFile( 
       System.string fileName
    )

    Parameters

    fileName
    file to load from (the extension determines the format)

    Return Value

    the loaded document if succeeded, otherwise null
    Requirements

    Target Platforms: Windows 7, 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