myDocument.flatten() in Photoshop DOM

flatten all layers in the document

Arguments

(this method takes no arguments)

Return Type
(none)

Description