NewDocumentActionModel Data Type

New Document actions contain information used to create a new document with the specified number of pages.

Properties
name data type description
pageWidth number The width of the pages of the new document in points (72 DPI). If not provided, the default value is 612.
pageHeight number The height of the pages of the new document in points (72 DPI). If not provided, the default value is 792.
pageCount number The number of pages to create for the new document. If not provided, the default value is 1.
backgroundColor string The background color of the pages of the new document. If not provided, the default is no color. This can be in the format of an html predefined color name (ie Aquamarine), a hex string (ie #7FFFD4), an rgb string (ie rgb(127,255,212)), or as an int string (ie 8388564).

Example

{
  "pageWidth" : 12345.0,
  "pageHeight" : 12345.0,
  "pageCount" : 12345,
  "backgroundColor" : "..."
}