These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Creating Border for a "Redact" annotation. Please help!

sswanson
Registered: May 6 2009
Posts: 4

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

My Product Information:
Acrobat Pro 9.1, Windows
sswanson
Registered: May 6 2009
Posts: 4
As an Update, I did solve the problem, I created two different redactions, when that had a black fill and one that is slightly smaller with a white fill. I placed the white fill redaction over the black fill redaction and voila, a border.

If anyone wants more details feel free to let me know and I can share the code.

--Steve