pdfAnnotate
pdfAnnotate copied to clipboard
SquareAnnotation is not working
` AnnotationFactory.loadFile(url).then((factory) => {
factory.createSquareAnnotation(
0,
[478.55, 207.57, 558.55, 232.57],
"",
"",
{r:10,g:50,b:30},
{r:150,g:200,b:20}
)
setTimeout(()=>{
factory.download()
},2000)
})
`
only text annotation is working and i cant see my square annotation after donwloading pdf
Hello @alibakhshiilani, I cannot reproduce the problem. Are you sure that the provided coordinates [478.55, 207.57, 558.55, 232.57] do not exceed the page view pane of your document? Most renderers will not display such annotations.