A newer version of this page is available. Switch to the current version.

DocumentManager Members

A server document manager that provides the means to operate the currently opened office documents.

Properties

Name Description
EnableHibernation static Gets or sets a value specifying whether the document work session hibernation is enabled or disabled. The default value is false.
HibernateAllDocumentsOnApplicationEnd static Gets or sets a value that specifies whether all open documents should be hibernated on application end.
HibernatedDocumentsDisposeTimeout static Gets or sets the timeout specifying how long hibernated documents are stored on the server before disposing. The default value is TimeSpan.FromHours(24).
HibernateTimeout static Gets or sets the idle timeout for documents. The default value is TimeSpan.FromHours(1).
HibernationStoragePath static Gets or sets the path to the server directory to which open documents are hibernated after idle timeout expiration.
StateProvider static Provides an interface for developing scalable applications based on the ASPxRichEdit and ASPxSpreadsheet controls.

Methods

Name Description
CloseAllDocuments() static Closes all open documents.
CloseDocument(String) static Closes the specified document.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
FindDocument(String) static Finds a document by its identifier.
FindDocument(String, Boolean) static Finds a document by its identifier
GetAllDocuments() static Gets access to all open documents.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HibernateAllDocuments() static Hibernates all open documents.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
AutoSaving static Enables you to process the auto saving of an Office document (a Spreadsheet or RichEdit document).
See Also