NewDocumentMode in Photoshop DOM

(enumeration object)

Constants

name object value description
CMYK NewDocumentMode 3
GRAYSCALE NewDocumentMode 1
LAB NewDocumentMode 4
RGB NewDocumentMode 2

Arguments that are a NewDocumentMode

name in method of object description
mode add([width],[height],[resolution],…) Documents