Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Office.DocumentMode enum

Package:
office

Specifies whether the document in the associated application is read-only or read-write.

Remarks

Returned by the mode property of the Document object.

Used by

Examples

const mode : Office.DocumentMode = Office.context.document.mode;
console.log("Document mode: " + mode);

Fields

ReadOnly

The document is read-only.

ReadWrite

The document can be read and written to.


Feedback

Was this page helpful?