Add an URI Annotation
Code Example:
PdfDocument doc = new PdfDocument();
PdfPage p = doc.Pages.Add();
PdfAnnotation anno
= new PdfUriAnnotation(”www.nasosoft.com”, new RectangleF(10, 90, 50, 50));
anno.Text = "Uri Annotation";
p.Annotations.Add(anno);
doc.Save(@"UriAnnotation.pdf");
Dim doc As PdfDocument = new PdfDocument()
Dim p As PdfPage = doc.Pages.Add()
Dim anno As PdfUriAnnotation
= New PdfUriAnnotation(”www.nasosoft.com”, new RectangleF(10, 90, 50, 50))
anno.Text = "Uri Annotation"
p.Annotations.Add(anno)
doc.Save(@"UriAnnotation.pdf")