DynaPDF Edit Annotation Hyperlink

Hi all, hopefully a quick one here.

I am trying to modify the hyperlink of a pdf annotation.

annotCurrent.DestFile="https://NewLink" doesn’t work as DestFile is a read only property.

I can’t find anything in the documentation or examples.


When you query information on annotation, you get a copy of the information. Editing the Xojo object won’t change the original file.

SetAnnotString may do it.

Sorry, it’s ChangeLinkAnnot(Handle as Integer, URL as string) as Boolean function.

Thanks! I’ll give that a shot.