myDocument.mode in Photoshop DOM

document mode
This property is read-only.

Property Type
DocumentMode