TextStampActionModel Data Type

This action contains information to place a text stamp on one or more pages.

Properties
name data type description
text string Text to write.
color string Text color. The default color is black. 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).
fontSize number Font size.
fontName string Font name. Must be one of "Courier", "Helvetica", or "Times-Roman".
fontStyle string Font style. Must be one of "Plain", "Bold", "Italic", "Bold-Italic".
Properties inherited from StampActionModel
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

{
  "text" : "...",
  "color" : "...",
  "fontSize" : 12345,
  "fontName" : "...",
  "fontStyle" : "...",
  "pageIndex" : 12345,
  "rotation" : 12345,
  "transparency" : 12345,
  "x" : 12345,
  "y" : 12345
}