DocumentMode in Photoshop DOM

(enumeration object)

Constants

name object value description
CMYK DocumentMode 3
DUOTONE DocumentMode 8
GRAYSCALE DocumentMode 1
LAB DocumentMode 4
RGB DocumentMode 2

Properties that are a DocumentMode

name object description
mode Document (read only) document mode