Have anyone worked using PDFNet where the annot needs to be resized? For simplicity, currently i set the text of the annot using
annot.setContents(text)
annot.refreshAppearance()
pdfView.update()
However, if the text is too long where it exceeds the annot's width, it cant be resized and the text will be trimmed as the annot's width isnt wide enough. I checked the documentation and it seems there is a resize function, however the parameter it is taking isn't clear. Anyone with knowledge on this, thanks in advance