Tagged Questions
0
votes
1answer
84 views
How to open the multiple pdf files in a new windows using asp.net
In my application have grid view with check boxes, select multiple checkboxes click on print button open the pdfs in seperate windows.
my code is
for (int i = 0; i < ...
0
votes
1answer
60 views
Replace and delete PDF File
I am using the following piece of code to delete the old PDF and replace the old one with the new one but with no result. Is is possible to perform this operation on PDF files? As, throughout the net ...
0
votes
1answer
223 views
PDF from HTML String with HTML tags in C# ASP.Net
I am using ITextSharp to create PDF from HTML String. I have written following code, But If strReplace is a my HTML string with tag, How I generate PDF using itextSharp in C# ?
MemoryStream ...
-3
votes
1answer
119 views
iTEXTSHARP TO UPDATE PDF
I am required to replace a word with a new word, selected from a drop-down list by user, in a PDF document in ASP.NET. I am using iTextSharp , but the new PDF that is created is all distorted as I am ...
1
vote
0answers
38 views
comparing objects in image
I have two images in the pdf which are of different sizes. First I extract the images, later I need to find the similarities of the object, to check whether both the images contains same objects or ...
-4
votes
1answer
118 views
creating a pdf editor like application in c#
I want to create a desktop application, whose functioning is as follows :
1. user opens a pdf file in the form
2. then, it gets opened up on the UI. After that, user performs certain editing using ...
1
vote
2answers
340 views
Read PDF using itextsharp where PDF language is non-English
I am trying to read this PDF using itextsharp in C# which will convert this pdf into word file. also it needs to maintain table formating and fonts in word
when i try with English pdf it will work ...
6
votes
0answers
396 views
Is this possible to structural elements from PDF using itextsharp?
We are using itextsharp with C# winform application to parse the pdf file.using itextsharp i can easily extracted the textual data from the pdf file.Suppose pdf file containing two lines of text and ...
1
vote
2answers
301 views
TextBox controls are not Working with Export To PDF(iTextSharp)
I have a form, which contains
lables
and textboxes.
After filling this form, it is exported to PDF.
All the label Texts are exported but textbox texts are not exported to PDF.
Is anybody had ...
1
vote
0answers
227 views
how to create radiobutton list using itextsharp in c#
i am trying to make radiobutton list in pdf file using itextsharp but it create box.
Is there anyone can say me why this is happening ?
for (int j = 0; j < 8; j++)
{
Rectangle(0, 0, 22, 22), ...
2
votes
2answers
2k views
Display Unicode characters in converting Html to Pdf
I am using itextsharp dll to convert HTML to pdf.
The html has some unicode characters like α,β .. when i try to convet html to pdf,unicode characters are not shown in pdf.
My Function:-
Document ...
1
vote
1answer
213 views
How to add “back to top” anchor to PDF using itextSharp?
I need to add an anchor to an existing pdf in order to return the user to the top of the page when clicked. i have tried this:
public void Bookmark() {
PdfReader reader = new ...
0
votes
1answer
183 views
C#-comparing combobox and that of the list items
I have a combobox in which i can select three items and a list that contains items i want to check first of all whether the value selected from the combobox is in list and then the list item which is ...
0
votes
1answer
173 views
Error with use of PdfDictionary
I am making use of PdfDictionary and writes the following
PdfDictionary sv = new PdfDictionary();
sv["/Type"] = new PDFName("/SV");
sv["/Filter"] = new PDFName("Abc");
sv["/Ff"] = new PDFNumber(1);
...
0
votes
1answer
194 views
C# - Using the opened Pdf with Pdf reader
I am using
axAcroPDF1.LoadFile(path);
to load a pdf inside a container now i have another function declared as public inside the same class and i am using itextsharp to read this i used
...
-1
votes
1answer
83 views
C#- Checking two fields of different forms in one application
I have names of fields as
List<string> names = af.GetSignatureNames();
where as I input in a combobox as
comboBox1.Items.Add(new combodata("Signature 1"));
comboBox1.Items.Add(new ...
0
votes
2answers
196 views
load an existing pdf in a C# application using iTextSharp
I need to know how do i load an existing .pdf ;say i have a .pdf in my local machine i added it to the location where i am creating a project i need to load this .pdf in my c# app and then i need to ...
0
votes
2answers
274 views
how to re-sizing pdf content with iTextsharp
I just need to resize page content in a pdf file, it's not related to Reducing file size I just need to reduce each page content which is one image to be able to print it as a booklet in landscape ...
-1
votes
2answers
1k views
Set fixed number of rows per page, PDF generation using itextsharp
I have a List<object> and this list contains thousands of record. I want to generated pdf using itextsharp. and Pdfptable to generated pdf it is working fine, but but I want only 10 records per ...
0
votes
3answers
1k views
ITextSharp Find coordinates of specific text in PDF
I have found many sites and postings that the question is the same as mine but what they all seem to have in common is people are answering them with examples of how to insert new text at specific ...
0
votes
2answers
285 views
How to increase the Font Size of a PDF Field in ItextSharp(PdfStamper)?
I am using PdfStamper to create PDF at run time. My problem is that I am not able to increase the font size of a PDF field. I have tried this but no luck,
stamper.AcroFields.SetFieldProperty("names", ...
4
votes
1answer
4k views
using ITextSharp to extract and update links in an existing PDF
I need to post several (read: a lot) PDF files to the web but many of them have hard coded file:// links and links to non-public locations. I need to read through these PDFs and update the links to ...
0
votes
2answers
764 views
How to Create PDF file with Tamil Font by using itextsharp in C#?
we are creating pdf files in our C# application by passing TAMIL text(one of the indian language).So, I already installed AVVAIYAR.TTF(one of the tamil font) font for my tamil language font.But when i ...
0
votes
2answers
516 views
ITextSharp: parse html with cyrillic/international words
I try to parse html file and to generate pdf. I use code
document.Open();
HtmlPipelineContext htmlContext = new HtmlPipelineContext(null);
...
2
votes
1answer
690 views
Cannot convert HTML (http://www.google.co.in/) to PDF using iTextSharp
I am using iTextSharp to convert a HTML (source site is google: http://www.google.co.in/) to PDF.
My code :
protected void Page_Load(object sender, EventArgs e)
{
WebClient wc = new ...
3
votes
2answers
2k views
Merge memorystreams to one itext document
I have four MemoryStreams of data that I want to merge and then open the pdfDocument, without creating a single file.
It's possible to write them down to files and then merge them but that would be ...
2
votes
3answers
1k views
Read Check Box, Radio Button Name and values from PDF using iText Sharp
I have a fillable PDF contains CheckBoxes and RadioButtons and TextBox.
How do i get the CheckBox Name and its value also how do we know that it is a checkbox / Radio Button?
i'm using iTextSharp ...
0
votes
1answer
248 views
Process.start not working on server
I create a PDF file using itextsharp. It's created successfully and open with adobe reader 9 not in adobe reader 7 and 8. Please help me to fix this error.
This is my partial code :
try
{
...
2
votes
1answer
573 views
itextsharp pdf creation run on local not in server
I create a PDF file using iTextSharp and it's stored in my system desktop and opens successfully in my local system. Now if I upload the same code to a server, no error occurs and the PDF file isn't ...
2
votes
0answers
412 views
Itextsharp: Is There Any Way To Copy Links When Import Pages?
I'm working on a project where i need to edit pdf's before display it
I need
add a watermark
edit permissions ( lock for avoid 'copy/paste' and 'save as' )
edit viewer preferences
And i did ...
1
vote
2answers
451 views
ITextSharp: Remove character Limit from a form field
I'm trying to remove the character limit from form fields before setting them using iTextSharp. I am able to do this manually using Adobe Acrobat but we are dealing with a large number of PDF ...
0
votes
1answer
487 views
How to create a pdf using webservice
I am using jquery ajax to call function from webservice.
In that function I am creating a pdf file using itextsharp tool.
I want that my pdf file created should open in browser when return.
can ...
2
votes
1answer
4k views
Header, footer and large tables with iTextSharp
I've added an header and a footer on my document by PdfPageEventHelper.
The document has several "large" tables populated at runtime.
I've tried to add those tables simply by "documen.Add(table)", ...
1
vote
1answer
555 views
Auto scaling of Images
I’m generating PDF files from my C# 4.0 windows application using iTextSharp API. I’ll be passing HTML string which will contain Rich Text and Images. My PDF file size is A4 with default margins. ...
1
vote
1answer
2k views
how to get the particular paragraph in pdf file using iTextSharp in C#?
I am using iTextSharp in my C# winform application.I want to get particular paragraph in PDF file. Is this possible in iTextSharp?
2
votes
1answer
536 views
Why the table.addcell(cell) will just display html code int iTextSharp
I'm currently trying to export gridview to pdf file.
My code is:
public void GvExportPDF(GridView gvListing, string fileName,int TotalColumns)
{
http.Response.ContentType = ...
1
vote
1answer
877 views
WinForms - How to open and show a pdf you just saved using iTextSharp?
I'm saving data as a .pdf with a program.
However, I can't figure out how to open the .pdf I have just saved, to show it to the user.
0
votes
1answer
801 views
How to get PdfpTable Width working?
So I've been trying to find out how to get table width working with no success for a particular case.
I have a table with 2 columns. In the second column I add one cell that includes a table with ...
0
votes
2answers
611 views
ITextSharp taking too much time in getting Number of Pages
I have this piece of code:
foreach(string pdfFile in Directory.EnumerateFiles(selectedFolderMulti_txt.Text,"*.pdf",SearchOption.AllDirectories))
{
//filePath = pdfFile.FullName;
//string abc ...
0
votes
1answer
374 views
com.lowagie.text.Table is missing in latest build of iTextSharp
I am using iText, and upgrading to the latest itextsharp. My old code is looking for the class com.lowagie.text.Table
Any idea where it went? I do not see it in the source code.