my purpose is to create an annotation via JavaScript with the following code:
Code: Select all
var annot = this.addAnnot({
type: "FreeText",
author: "John Doe",
width: 0,
page: 0,
strokeColor: ['RGB',0,0,0],
fillColor: color.transparent,
textFont: "Arial",
textSize: 7.09,
rect: [28.39,115.87,510.28,124.72],
rotate: 0,
contents: "sample text",
alignment: 0,
readOnly: true});
Code: Select all
strokeColor: ['RGB',0,1,0],
// Martin