Alpha is done in a very different way in PDF using graphic states. See
the example headers_and_watermarks.java at itextpdf.sf.net.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Kalpesh Raval [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 07, 2004 10:05 PM
> To: Paulo Soares; [EMAIL PROTECTED]
> Subject: RE: [iText-questions] Get portion of PDF using ITEXTSHARP
> 
> I downloaded the ITEXT component and have also changed the 
> code, still when i try to fill the color using 
> 
> setColorFill it needs java.awt.color as the parameter and if 
> i do try to make an instance of java.awt.color the only 
> constructors it has is 
> java.awt.color(r,g,b)
> java.awt.color(rf,gf,bf)
> java.awt.color(rgb)
> 
> it does not have alpha value in it, and which is what the 
> itextsharp had too.....
> 
> Thank you
> 
> kalpesh
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Paulo
> Soares
> Sent: Wednesday, July 07, 2004 10:52 AM
> To: Kalpesh Raval; [EMAIL PROTECTED]
> Subject: RE: [iText-questions] Get portion of PDF using ITEXTSHARP
> 
> 
> Are you kidding? That's a pre-historic implementation. Use the version
> at http://www.ujihara.jp/iTextdotNET/en/. They also have 
> examples in C#.
> 
> Best Regards,
> Paulo Soares
> 
> > -----Original Message-----
> > From: Kalpesh Raval [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, July 07, 2004 2:49 PM
> > To: Paulo Soares; [EMAIL PROTECTED]
> > Subject: RE: [iText-questions] Get portion of PDF using ITEXTSHARP
> > 
> > No work around either????
> > 
> > Regards,
> > 
> > kalpesh
> > 
> > -----Original Message-----
> > From: Paulo Soares [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 07, 2004 6:45 AM
> > To: Kalpesh Raval; [EMAIL PROTECTED]
> > Subject: RE: [iText-questions] Get portion of PDF using ITEXTSHARP
> > 
> > 
> > iTextSharp doesn't support alpha.
> > 
> > Best Regards,
> > Paulo Soares 
> > 
> > > -----Original Message-----
> > > From: Kalpesh Raval [mailto:[EMAIL PROTECTED] 
> > > Sent: Tuesday, July 06, 2004 6:47 PM
> > > To: Paulo Soares; [EMAIL PROTECTED]
> > > Subject: RE: [iText-questions] Get portion of PDF using ITEXTSHARP
> > > 
> > > also, 
> > > 
> > > i am using the following line of code to draw 
> > > 
> > > cb.setColorFill(New iTextSharp.text.pdf.PdfSpotColor("t1", 
> > > 255, New 
> > iTextSharp.text.Color(System.Drawing.Color.LightBlue)), 255)
> > > 
> > > i want to specify alpha too, how can i plug that parameter in ???
> > > 
> > > kalpesh
> > > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] 
> > Behalf Of Paulo
> > > Soares
> > > Sent: Friday, July 02, 2004 6:35 AM
> > > To: Kalpesh Raval; [EMAIL PROTECTED]
> > > Subject: RE: [iText-questions] Get portion of PDF using ITEXTSHARP
> > > 
> > > 
> > > I can tell you how to do it in java. Whether it works with 
> > > that port or
> > > not it's up to you to find out.
> > > It works with http://www.ujihara.jp/iTextdotNET/en/.
> > > 
> > > You cant't remove anything form the original document but 
> > you can show
> > > only some parts of it. The general idea is:
> > > 
> > > PdfTemplate page = writer.getImportedPage(...);
> > > PdfContentByte cb = writer.getDirectContent();
> > > cb.saveState();
> > > cb.rectangle(...); //only this will be visible
> > > cb.clip();
> > > cb.newPath();
> > > ab.addTemplate(page, ...); //adjust the origin to position in the
> > > rectangle above
> > > cb.restoreState();
> > > 
> > > Best Regards,
> > > Paulo Soares
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] 
> > > > [mailto:[EMAIL PROTECTED] On 
> > > > Behalf Of Kalpesh Raval
> > > > Sent: Thursday, July 01, 2004 10:22 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: [iText-questions] Get portion of PDF using 
> ITEXTSHARP
> > > > 
> > > > hi,
> > > > 
> > > > Does anyone have any inputs on this one???
> > > > 
> > > > i am stuck
> > > > 
> > > > Kalpesh
> > > > 
> > > > 
> > > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] Behalf 
> > > > Of kalpesh
> > > > raval
> > > > Sent: Monday, June 28, 2004 4:59 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [iText-questions] Get portion of PDF using ITEXTSHARP
> > > > 
> > > > 
> > > > Greetings,
> > > > 
> > > > How do i extract certain portion of PDF and save it as new PDF.
> > > > 
> > > > Thanx in advance for all your help
> > > > 
> > > > Kalpesh
> > > > 
> > > > 
> > > > 
> > > > 
> > > > -------------------------------------------------------
> > > > This SF.Net email sponsored by Black Hat Briefings & Training.
> > > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> > > > digital self defense, top technical experts, no vendor pitches, 
> > > > unmatched networking opportunities. Visit www.blackhat.com
> > > > _______________________________________________
> > > > iText-questions mailing list
> > > > [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > > > 
> > > > 
> > > > -------------------------------------------------------
> > > > This SF.Net email sponsored by Black Hat Briefings & Training.
> > > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> > > > digital self defense, top technical experts, no vendor pitches, 
> > > > unmatched networking opportunities. Visit www.blackhat.com
> > > > _______________________________________________
> > > > iText-questions mailing list
> > > > [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > This SF.Net email sponsored by Black Hat Briefings & Training.
> > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> > > digital self defense, top technical experts, no vendor pitches, 
> > > unmatched networking opportunities. Visit www.blackhat.com
> > > _______________________________________________
> > > iText-questions mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > > 
> > 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> digital self defense, top technical experts, no vendor pitches, 
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to