SaveOptions
Description:
This class contains options available for saving a document to disk.
This class contains options available for saving a document to disk.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.SaveOptions
System.Object
Autodesk.Revit.DB.SaveOptions
public class SaveOptions : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| SaveOptions() | None | Default constructor. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the SaveOptions | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| 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 | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| PreviewViewId | ElementId | The view id that will be used to generate the preview; this id is not saved to the document's permanent settings. |