EDOBE XDOM EM Specifications Page 120

  • Download
  • Add to my manuals
  • Print
  • Page
    / 231
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 119
Adobe Photoshop CS6
JavaScript Scripting Reference JavaScript Object Reference 120
HistoryState
A version of the document stored automatically (and added to the HistoryStates collection), which
preserves the documents state, each time the document is changed.
Access through Document
.historyStates collection. You can access a state in the list by name. For example,
this assigns a property value in the state object named "AddLayerMask":
var stateRef = app.activeDocument.historyState.getByName("AddLayerMask");
stateRef.snapshot = true;
Properties
Property Value type What it is
name
string
Read-only. The HistoryState object's name.
parent
Document
Read-only. The containing document.
snapshot
boolean
Read-only. True if the history state is a snapshot.
typename
string
Read-only. The class name of the referenced HistoryState
object.
Page view 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 230 231

Comments to this Manuals

No comments