2026 Class
Changes 0
C

SaveAsOptions

Description:
This class contains options available for saving a document to disk with a new filename.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.SaveAsOptions
public class SaveAsOptions : IDisposable
Name Return Type Description Inherited From
C SaveAsOptions() None Default constructor.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the SaveAsOptions
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M GetWorksharingOptions() WorksharingSaveAsOptions Gets Worksharing options for SaveAs.
M SetWorksharingOptions(WorksharingSaveAsOptions) None Sets Worksharing options for SaveAs.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P 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.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P MaximumBackups int The maximum number of backups to keep on disk.
P OverwriteExistingFile bool Identifies if the operation should be able to overwrite an existing file.
P PreviewViewId ElementId The view id that will be used to generate the preview; this id is not saved to the document's permanent settings.