RE: iText# Video embedding

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

RE: iText# Video embedding

Paulo Soares
Here's an example in Java:

Document document = new Document(PageSize.A4, 50, 50, 50, 50);
PdfWriter writer = PdfWriter.getInstance(document, new
PdfContentByte cb = writer.getDirectContent();
cb.rectangle(200, 400, 100, 100);
document.add(new Paragraph("Images"));
PdfFileSpecification fs = PdfFileSpecification.fileEmbedded(writer,
"saitoz-n.mpeg",   "saitoz-n.mpeg", null);
PdfAnnotation annot = PdfAnnotation.createScreen(writer, new
Rectangle(200f, 400f, 300f,  500f),

> -----Original Message-----
> From: Nobody [mailto:[hidden email]] On
> Behalf Of Axl
> Sent: Thursday, September 15, 2005 10:07 AM
> To: [hidden email]
> Subject: iText# Video embedding
> Message body follows:
> Hello,
> I'd like to embed video clips into a table or into the text.
> Is this possible?
> I've found the PdfAction.Rendition method that seems to be
> my best choice, but it is not documented... is there any
> help available?
> Greets,
> Axel Newe
> --
> This message has been sent to you, a registered user,
> by another site user, through the site.  This message
> has been delivered to your mail alias.  You may reply
> to this message using the "Reply" feature of your email client, or
> using the messaging facility of at:

SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play:
itextsharp-questions mailing list
[hidden email]