Share

SaveOptions Class

This class contains options available for saving a document to disk.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.SaveOptions


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class SaveOptions : IDisposable

The SaveOptions type exposes the following members.

Constructors

 NameDescription
Public methodSaveOptions Default constructor.

Properties

 NameDescription
Public propertyCompact 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.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyPreviewViewId The view id that will be used to generate the preview; this id is not saved to the document's permanent settings.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the SaveOptions
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?