How can I rotate this box? #1603
shubham0919
started this conversation in
General
Replies: 1 comment
-
Could you please help me fix this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
const createPageLinkAnnotation = (pdf, uri, x, y, width, height) =>{
return pdf.context.register(
pdf.context.obj({
Type: "Annot",
Subtype: "Link",
Rect: [x, y - height, x + width, y],
Border: [0, 0, 1],
C: [0, 0, 1],
A: {
Type: "Action",
S: "URI",
URI: PDFString.of(uri),
},
})
);}
Beta Was this translation helpful? Give feedback.
All reactions