New Document actions contain information used to create a new document with the specified number of pages.
name | data type | type | namespace | min/max occurs | description |
---|---|---|---|---|---|
backgroundColor | string | element | 0/1 | 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). | |
pageCount | int | element | 1/1 | The number of pages to create for the new document. If not provided, the default value is 1. | |
pageHeight | double | element | 1/1 | The height of the pages of the new document in points (72 DPI). If not provided, the default value is 792. | |
pageWidth | double | element | 1/1 | The width of the pages of the new document in points (72 DPI). If not provided, the default value is 612. |
Example
<NewDocumentAction> <pageWidth>...</pageWidth> <pageHeight>...</pageHeight> <pageCount>...</pageCount> <backgroundColor>...</backgroundColor> </NewDocumentAction>