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
: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
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
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
>
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
>
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
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
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
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
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
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
> 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
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)
>
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
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,
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
16 matches
Mail list logo