|
|
Try to save contents of document to a file.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Function TrySaveFile ( _ fileName As String _ ) As Boolean |
| C# |
|---|
public bool TrySaveFile( string fileName ) |
| Visual C++ |
|---|
public: bool TrySaveFile( String^ fileName ) |
Parameters
- fileName
- Type: System..::..String
Path to try and save file to
Return Value
false if save fails
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | Document IsClear |