Hi,
Thanks.
I want to assign a strike through font to a form field.
I am setting the values for form fields in my servlet.

PdfStamper stamp = new PdfStamper(reader, bos);
AcroFields form = stamp.getAcroFields();
form.setField("field1","dayal");

so if I need to set a strike through font for "field1", how can I do this?

Thanks
Dayal

----- Original Message ----- 
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "'Dayal Murukutla'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, November 14, 2003 5:43 AM
Subject: RE: [iText-questions] strike through font


> That's a font attribute:
>
> Font font = new Font(Font.HELVETICA, 12, Font.STRIKETHRU, Color.red);
>
> Best Regards,
> Paulo Soares
>
> > -----Original Message-----
> > From: Dayal Murukutla [SMTP:[EMAIL PROTECTED]
> > Sent: Thursday, November 13, 2003 22:05
> > To: [EMAIL PROTECTED]
> > Subject: [iText-questions] strike through font
> >
> > Hi,
> > Is there a strike through font available that I can use with my pdf
> > documents generated from iText?
> >
> > for example in html we use: <strike>ddddd</strike>
> > Thanks
> > dayal
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to