Hello,

I am trying to show Icon "Help"  on an Annotation in PdfPCell as below.
But icon is too big.

How can i do to minimize his size to see it at the right of my chunk (as 
PdfAnnotation.createSquareCircle) ?

Thks

<CODE>

Chunk MonAnnota = new Chunk(".");
MonAnnota.setGenericTag(TexteContenu);
Paragraph MonParagraphe = new Paragraph();
MonParagraphe.add(MonAnnota);
PdfPCell MaCellule = new PdfPCell(MonParagraphe);
...........

</CODE>


<CODE>

 public void onGenericTag(PdfWriter writer, Document document, Rectangle rect, 
String text) {
        PdfAnnotation annotation = PdfAnnotation.createText(writer, rect, 
"Infos", text, false, "Help");

        writer.addAnnotation(annotation);
}
</CODE>




      

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to