반응형
var annotText = this.addAnnot({
page: 0,
type: "FreeText",
textFont: "Arial", // or, textFont: "Viva-Regular",
textSize: 7,
rect: [57.806640625,730.9102172851562,75.806640625,744.916015625],
width: 0,
alignment: 1,
contents: "D",
lineEnding : "None",
refType : "R",
seqNum : 1
});
var annotPoly = this.addAnnot({
page: 0,
type: "PolyLine",
rect: [55.78631591796875,730.4441528320312,73.8094482421875,747.8836059570312], // height for three lines
reftype : "R",
rotation: -270,
vertices: [[73.25311279296875,738.8373413085938],[56.49212646484375,747.6712036132812],[56.367919921875,730.8611450195312],[73.25311279296875,738.8373413085938]],
with: 0.75,
seqNum : 2
});
반응형
'S.W. > PDF' 카테고리의 다른 글
[PDF/Javascript] FDF/XFDF - Import / Export String/File (0) | 2021.08.06 |
---|---|
[PDF/Javascript] Add Navigation Buttons To All Pages (0) | 2021.08.06 |
[PDF/Javascript] ADOBE - Acrobat DC Javascript 문서 (0) | 2021.08.06 |
[PDF/Javascript] getAnnots (Annotion, Comment, Markup, 주석) (0) | 2021.08.06 |
[PDF/Javascript] Adding multiline rich text (0) | 2021.08.06 |