SaveAsOptions
Description:
This class contains options available for saving a document to disk with a new filename.
This class contains options available for saving a document to disk with a new filename.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.SaveAsOptions
System.Object
Autodesk.Revit.DB.SaveAsOptions
public class SaveAsOptions : IDisposable
| Name | Return Type | Description |
|---|---|---|
| SaveAsOptions() | None | Default constructor. |
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetWorksharingOptions() | nullNothingnullptr | Gets Worksharing options for SaveAs. |
| SetWorksharingOptions(WorksharingSaveAsOptions) | None | Sets Worksharing options for SaveAs. |
| Name | Return Type | Description |
|---|---|---|
| Compact | bool | Default is false: let the OS eliminate as much or as little dead data as it wants to. True: force the OS to eliminate all dead data from the file on disk. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| MaximumBackups | int | The maximum number of backups to keep on disk. |
| OverwriteExistingFile | bool | Identifies if the operation should be able to overwrite an existing file. |
| PreviewViewId | ElementId | The view id that will be used to generate the preview; this id is not saved to the document's permanent settings. |