Stamp actions contain information used to add a stamp to a page in the document. They can be used to create watermarks, headers, and footers. StampActionModel is abstract and should not be used. Instead, use one of its subclasses: ImageStampActionModel and TextStampActionModel.
| name | data type | description |
|---|---|---|
| pageIndex | number | The index of the page to stamp. If not supplied the stamp will be applied to all pages. |
| rotation | number | Rotation of the stamp in degrees. |
| transparency | number | Percent of transparency. Value between 0 and 100. |
| x | number | Center x coordinate. |
| y | number | Center x coordinate. |
Example
{
"pageIndex" : 12345,
"rotation" : 12345,
"transparency" : 12345,
"x" : 12345,
"y" : 12345
}