I need to add a PdfUriAnnotation (because I need to set the with and height of the hyperlink ) to a PdfPageTemplateElement but it seems only possible in page and not in templates.
Any suggestion how I can accomplish this task?
- Code: Select all
page.AnnotationsWidget.Add(new PdfUriAnnotation(new RectangleF(left, top, width, height), linkURL));
but how does it work in templates?
Greetings Christian