Hello,
I have tried long and hard with little avail to apply a border to a redaction, the code I tried is below.
var f = this.addAnnot({ type:"Redact", page: pg, quads: qd,
alignment: 1, // Center alignment
repeat:true
});
f.borderStyle = border.s
f.strokeColor = color.Black
f.fillColor = color.White
The fill color behaves properly but there is no border.
As a workaround I tried to create a different type of annotation with a border, but I was unable to lock those annotations in place.
Either I need to put the border around the redact annotation or be able to create some sort of annotation or field that locks in place that could serve as a border. If any clarification is needed please let me know!
Thanks,
Steve
If anyone wants more details feel free to let me know and I can share the code.
--Steve