In a web application, I generate a pdf document in two different ways:
1. With the instructions
Response.ContentType = application/pdf
Response.AddHeader(Content-Disposition, attachment;
filename=itext.pdf)
I show the document in a pdf window, (not a web page) separated
?
2013/8/15 Leo Donahue - RDSA IT leodona...@mail.maricopa.gov
From: SALAZAR, DANTE [mailto:digitron...@cwpanama.net]
Subject: [iText-questions] Vertical Position of the first paragraph
How can I set the vertical position of the first paragraph?
I can use GetVerticalPosition and SpacingBefore
How can I set the vertical position of the first paragraph?
I can use GetVerticalPosition and SpacingBefore to set the vertical
position of successive paragraphs, but not for the first one.
--
Get 100% visibility into
wr.SetVerticalPosition=620.
Question 2, why don't works SpacingBefore in this case.
Thanks
2013/8/14 Leo Donahue - RDSA IT leodona...@mail.maricopa.gov
From: SALAZAR, DANTE [mailto:digitron...@cwpanama.net]
Subject: [iText-questions] Vertical Position of the first paragraph
How can I set the vertical
I am writing a form using ShowText
First I defined: basefont bf and PdfContentByte cb
Then I set the font and size of cb:cb.SetFontAndSize(bf, 12)
Finally I fill in the form with:
cb.SetTextMatrix(100, 200)
cb.ShowText(Text to be printed 1)
cb.SetTextMatrix(100,
, SALAZAR, DANTE wrote:
How can I asign Time_Roman to the paragraph method?
Font f = new Font(bf, 12);
Paragraph p = new Paragraph(text, f);
// Or:
Paragraph p2 = new Paragraph();
p2.Font = f;
p2.Add(text);
doc.Add(p);
doc.Add(p2);
Best regards,
Raf Hens
iText Software
I am generating a report combining ShowText and Doc.Add(paragraph)
For text printed with ShowText function I set the font to Times_Roman with
the instructions:
bf = BaseFont.CreateFont(BaseFont.TIMES_ROMAN,
BaseFont.CP1252, False)
I am generating a report consisting in a group of short fields, like Name,
Phone number, age, etc; but at the end I need to show a wider field of
commentaries (3 to 5 lines)
For the first short fields I am using function ShowTextAlignedKerned, to
print at specifics xy positions
To print the last
Thanks a lot Keith
It contains almost all I need
No problem with C#. I can translate to VB easy
2011/4/14 Keith O kuuji...@hotmail.com
Date: Tue, 12 Apr 2011 10:01:30 -0500
From: digitron...@cwpanama.net
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Error
Office 716.631.3345 | Fax 716.631.3238
*From:* SALAZAR, DANTE [mailto:digitron...@cwpanama.net]
*Sent:* Tuesday, April 12, 2011 11:02 AM
*To:* Post all your questions about iText here
*Subject:* Re: [iText-questions] Error opening pdf document
Thanks Keith
I solved the problem using
Thanks Keith
I solved the problem using response.end() at the end
Unfortunately I havenĀ“t had any further progress in my practices with
iTextsharp, because I don't find any examples and documentation written for
asp.net. There are a lot of syntaxis diferences between java methods and
.net
on a page
2011/4/8 1T3XT BVBA i...@1t3xt.info
Op 8/04/2011 3:38, SALAZAR, DANTE schreef:
Dim doc1 As New Document() Dim writer As PdfWriter Dim cb AsPdfContentByte
writer = PdfWriter.GetInstance(doc1, Response.OutputStream)
cb = writer.getDirectContent()
This doesn't look like Java.
I think
When I use this code everything is OK
Response.ContentType = application/pdf
Response.AddHeader(Content-Disposition, attachment; filename=itext.pdf)
Dim doc1 As New Document()
PdfWriter.GetInstance(doc1, Response.OutputStream)
doc1.Open()
doc1.Add(New Paragraph(TextBox1.Text))
doc1.Add(New
I am using itextshap version 5.0.4.0 to generate a pdf file, to print an
output of some data generated by an aspx page
In a sumary way, the page have two textboxes and a button
I fill some data in textboxes and then click the button to get the output in
a pdf window
Inside the button click event I
14 matches
Mail list logo