Nevron .NET Vision
Nevron.SmartShapes Namespace / NSmartShapeDocumentSerializer Class / SaveToFile Method / SaveToFile(NSmartShapeDocument,String) Method
document to save
file to save to (the extension determines the format)


In This Topic
    SaveToFile(NSmartShapeDocument,String) Method
    In This Topic
    Saves the specified document document to the specified file
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function SaveToFile( _
       ByVal document As NSmartShapeDocument, _
       ByVal fileName As System.String _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NSmartShapeDocumentSerializer
    Dim document As NSmartShapeDocument
    Dim fileName As System.String
    Dim value As System.Boolean
     
    value = instance.SaveToFile(document, fileName)
    public virtual System.bool SaveToFile( 
       NSmartShapeDocument document,
       System.string fileName
    )

    Parameters

    document
    document to save
    fileName
    file to save to (the extension determines the format)

    Return Value

    true if the operation succedded, otherwise false
    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