[iText-questions] Set Font for new Annonation

2013-05-03 Thread Constantin
Hallo Folks, is it possible, to set a new font (Courier New) for adding a annonation? Here my Code: 'Open the pdf using pdfreader 180:Dim reader As New iTextSharp.text.pdf.PdfReader(inputPdf) 'create a filestream for output 190:Dim fs As New System.IO.FileS

Re: [iText-questions] Set font style with FontFacotory.GetFont() or iTextFont.SetStyle?

2011-09-08 Thread Paulo Soares
:04 PM To: 'itext-questions@lists.sourceforge.net' Subject: [iText-questions] Set font style with FontFacotory.GetFont() or iTextFont.SetStyle? Hi, I am using iTextSharp 4.1.2. To use a font, I think the following two ways are equivalent: Approach 1: iTextFont font = FontFactory.GetF

[iText-questions] Set font style with FontFacotory.GetFont() or iTextFont.SetStyle?

2011-09-06 Thread George Li
Hi, I am using iTextSharp 4.1.2. To use a font, I think the following two ways are equivalent: Approach 1: iTextFont font = FontFactory.GetFont("Arial Narrow", 9.75, iTextFont.BOLD); Approach 2: iTextFont font = FontFactory.GetFont("Arial Narrow", 9.75); font.SetStyle(iTextFont.BOLD); Now I h

Re: [iText-questions] Set font

2009-07-10 Thread dakhla.0563
Thanks Bruno, My app works ok. Thanks a lot, Jose Alvarez de Lara -- From: "Bruno Lowagie" Sent: Friday, July 10, 2009 9:11 AM To: "Post all your questions about iText here" Subject: Re: [iText-questions] Set font >

Re: [iText-questions] Set font

2009-07-10 Thread Bruno Lowagie
dakhla.0...@hotmail.com wrote: > Hi folks, > > I have another problem. Googling I have found an explaination about it > but no solution. > It is as follow, > > Alignment in AcroForm fields is called Quadding, defined as: > > A code specifying the form of quadding (justification) to be used >

Re: [iText-questions] Set font

2009-07-09 Thread dakhla.0563
ions about iText here Subject: Re: [iText-questions] Set font Hi, I have been googling and I have found the answer to my question. Here is the code snippet, form = stamper.AcroFields form.SetExtraMargin(0, 1) Dim font As BaseFont = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFo

Re: [iText-questions] Set font

2009-07-09 Thread dakhla.0563
tten form fields and close document stamper.FormFlattening = True stamper.Close() Regards, Jose Alvarez de Lara From: dakhla.0...@hotmail.com Sent: Thursday, July 09, 2009 7:10 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Set font Hi, Here I have got an exampl

Re: [iText-questions] Set font

2009-07-09 Thread dakhla.0563
st Regards, Jose Alvarez de Lara From: dakhla.0...@hotmail.com Sent: Thursday, July 09, 2009 6:48 PM To: iTextSharp Subject: [iText-questions] Set font Hi, I have this code, cell = New PdfPCell cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER cell.VerticalAlignment = PdfPCell.ALIGN_MIDDLE c

[iText-questions] Set font

2009-07-09 Thread dakhla.0563
Hi, I have this code, cell = New PdfPCell cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER cell.VerticalAlignment = PdfPCell.ALIGN_MIDDLE cell.Border = PdfPCell.NO_BORDER cell.CellEvent = New FieldPositioningEvents(writer, COBROS_NO_APLICADOS) Hoe can I set the font? Regards, Jose Alvarez de

[iText-questions] Set font of list item bullets?

2007-02-27 Thread Dhruba Bandopadhyay
Hi, In the attached pdf my text is in serif but the list bullets are in sans-serif. How can I set the font of the list bullets? Many thanks. 1.pdf Description: Adobe PDF document - Take Surveys. Earn Cash. Influence the F

Re: [iText-questions] Set font face/size in form field inputs?

2007-01-16 Thread Bruno Lowagie (iText)
Paul Jungwirth wrote: >> You may set the field font size to zero and left the field adjust the font >> size itself or, if you don't need the field afterward, you may just use the >> field position and do your own layout. As usual, this is all described in >> the book "iText in Action". > > Hmm, I

Re: [iText-questions] Set font face/size in form field inputs?

2007-01-16 Thread Paul Jungwirth
> You may set the field font size to zero and left the field adjust the font > size itself or, if you don't need the field afterward, you may just use the > field position and do your own layout. As usual, this is all described in > the book "iText in Action". Hmm, I guess I didn't ask my question

Re: [iText-questions] Set font face/size in form field inputs? (take 2)

2007-01-10 Thread Paulo Soares
Your questions were answered and are in the mailing list archives. Paulo - Original Message - From: "Paul Jungwirth" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 10, 2007 8:22 PM Subject: [iText-questions] Set font face/size in form field inputs? (take 2) >

[iText-questions] Set font face/size in form field inputs? (take 2)

2007-01-10 Thread Paul Jungwirth
Hello, I asked this question seven days ago and didn't get a reply, so I'm trying again: I'm trying to use a PdfStamper to set some form fields. For one of the fields, sometimes the input is long, and sometimes it is short. I'd like to count the characters in the input and change the field's font

Re: [iText-questions] Set font face/size in form field inputs?

2007-01-04 Thread Paulo Soares
age - From: "Paul Jungwirth" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 03, 2007 8:23 PM Subject: [iText-questions] Set font face/size in form field inputs? > Hello, > > I'm trying to use a PdfStamper to set some form fields. For one of the > fields,

[iText-questions] Set font face/size in form field inputs?

2007-01-03 Thread Paul Jungwirth
Hello, I'm trying to use a PdfStamper to set some form fields. For one of the fields, sometimes the input is long, and sometimes it is short. I'd like to count the characters in the input and change the field's font face/size accordingly. But I can only see the setField() method. Is there any way