Brilliant simply genius!

Thanks for your help. here is my code for reference. (I'll work out how to
add arrows etc another day!)

Many thanks

Matt. 



Dim aCallOut As PdfAnnotation : Dim pcb As New PdfContentByte(Writer)

aCallOut = PdfAnnotation.CreateFreeText(Writer, New Rectangle(100, 500, 200,
600), "This is a Free Text Call Out!", pcb)

Dim aDictionary As PdfDictionary = PdfReader.GetPdfObject(aCallOut)
Dim Points() As Integer = {10, 400, 50, 550, 100, 550}

aDictionary.Put(New PdfName("IT"), New PdfName("FreeTextCallout"))
aDictionary.Put(New PdfName("CL"), New PdfArray(Points.ToArray))
aCallOut = aDictionary





--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/PdfAnnotation-CreateCallOut-tp4657292p4657294.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to