dear all, 

i use visual basic to create PDF report by useing itextsharp and the result is 
nice and pretty. 

however, i wanna make it even cooler by adding flash chart into the pdt report 
by useing annotation. 

well, it is cool as i expeced, but something is missing, printing.

i'm not able to print this swf annotation. and i try to google it all this new 
year weekend, but the result is very disappointed. 

i cant find any solution. 

is that suggestion?? 

here is my code

 

Dim swfFile As String = "C:\Chart.swf"

Dim r As Rectangle = New Rectangle(0, 0, 600, 400)

Dim spec As PdfFileSpecification = PdfFileSpecification.FileEmbedded(writer, 
swfFile, "charting.swf", Nothing)

Dim annot As PdfAnnotation = PdfAnnotation.CreateScreen(writer, r, swfFile, 
spec, "application/x-shockwave-flash", True)

annot.Flags = PdfAnnotation.FLAGS_PRINT

writer.AddAnnotation(annot)

 

thanks.
                                          
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to