[2008] Annotate A PDF Using ItextSharp?
Nov 3, 2008i am working on annotating a PDF, i tried ItextSharp.the problem is i can annonate a new pdf.but i cant find a way to annotate a existing pdf.
View 6 Repliesi am working on annotating a PDF, i tried ItextSharp.the problem is i can annonate a new pdf.but i cant find a way to annotate a existing pdf.
View 6 Repliescreating a software that can annotate pictures (jpg)and then save the (jpg) file togerther with its annotation using VB.NET?
View 11 Replieshow to search for a word or string in a PDF file & then get it's x/y position?
View 4 RepliesI'm building a windows application to process the editable pdf template, using iTextSharp. The pdf template has button fields, on click of which additional sections are inserted into the pdf file. Now, I have to invoke the pdf button press event programmatically through my vb.net code to insert the additional sections into the pdf. How can I get the button fields and how can I invoke the button press event programmatically.
View 1 RepliesI am using iTextSharp to add watermarks to existing PDF files & using PDF-XChange Viewer [URL] to view & print the PDF's. The problem is that the watermarks don't display in PDFXC & print out with the spacing all messed up. Is there a certain way I need to create the watermark with iTextSharp in order for it to display in PDFXC?
View 3 RepliesIs it possible to add a password protected pdf using itextsharp?
View 2 RepliesI have a bunch of PDFs that I'm just trying to open, resize the page, and then save. I'm also hoping that the file sizes will shrink significantly doing so. I am using iTextSharp and the resizing works just fine, but the file size is nearly identical, ever so slightly larger in fact. Here's the function I have now:
[Code]...
Is there a way to extract the value for APPEARANCE_NORMAL from each stamp in a PDF using iTextSharp? I know how to find all the Stamp annotations, but I am unsure how to get APPEARANCE_NORMAL.
View 6 Repliesin my document i am creating 3-4 pdfptables. at design time i dont know the size of the tables. i need to place the 2nd table right after the first, but i dont know the position of the first (i cant calculate it because i dont know how big it is). how do i know where to place the second table?
View 2 RepliesI have an instance where I have a logo image as part of some artwork..If a user uploads a new logo I have a form field which is larger than the default logo.I then use that form field to position the new image.
The problem is I need to set the background colour of that form field to white so that it covers the old logo in the event that the new image is smaller than the old logo..
what I have done is:foreach (var imageField in imageReplacements)
{
fields.SetFieldProperty(imageField.Key, "bgcolor", iTextSharp.text.Color.WHITE, null);
fields.RegenerateField(imageField.Key);
PdfContentByte overContent = stamper.GetOverContent(imageField.Value.PageNumber);
float[] logoArea = fields.GetFieldPositions(imageField.Key);
[Code]...
The problem with this is that the background colour of the field is set to white and the image then doesn't appear.. i remove the SetFieldProperty and RegenerateField commands and the image replacement works fine.is there a way to set a stacking order on layers?
why my tables are lapping over each other?
Dim datatable As PdfPTable = New PdfPTable(4)
Dim page As Rectangle = document.PageSize
datatable.TotalWidth = page.Width - document.LeftMargin - document.RightMargin
[code]....
even though im decrementing last_pos by the height of the previous table, they still lap over in a weird way like this:
for this line: c.WidthPercentage = 100F
i am getting this error:Error 1'WidthPercentage' is not a member of 'iTextSharp.text.Table'.
here's the entire code. it's taken directly from the tutorial
Imports System
Imports System.Drawing
Imports System.IO
Imports iTextSharp.text
Imports iTextSharp.text.pdf
[Code]...
I need to convert fdf files to pdf in asp.net using vb. I found some code that I'm trying to learn from. What I would like to do is upload the fdf file and then output a pdf to a directory and email it out. The fdf files are coming from a shared linux/php host (using the php fdf functions is all I can do here on this host) that are emailed to a central inbox. I'm going to pick up the files from the inbox and upload them to a win/asp.net box to convert to pdf.The code i found is below.
* Dim pdfFlat As New MemoryStream() * Dim pdfReader As New PdfReader(context.Request.MapPath(pdfFormFileName)) * Dim pdfStamper As New PdfStamper(pdfReader, pdfFlat) * ' bind fields from fdf... * Dim fdfReader As New FdfReader(context.Request.InputStream) * Dim pdfForm As AcroFields = pdfStamper.AcroFields *
[code]...
I want to display the data in the 2 column of PDF using iTextsharp. Like this way e.g.
Q.1 aaaaaa Q.5 eeeeeeeeeee
Q.2 bbbbbb Q.6 fffffffffff
Q.3 cccccc Q.7 ggggggggggg
[code]....
I can done it by using count but it's not working if the question length is min/max . how i can done it manually.
Does anybody know how to create a pdf from a web page using iTextSharp? I've already added the reference to my program, but i'm not clear on how to create a pdf from a web page.
View 1 RepliesI have created a simple table and i need to position. does anyone have experience with tables in itextsharp? [code] the first table works but the second does not
View 2 RepliesHow to find the text in pdf using itextsharp.
View 1 RepliesI am getting this unhandled IOException when using itextsharp
Rebuild failed: Error reading string at file pointer 3; Original message: xref subsection not found at file pointer 118
The line of code throwing this error is: Dim inputDoc As New iTextSharp.text.pdf.PdfReader(inputPath)
I have an pdf file, encrypted with a certificate. I want to access to it in order to create a decrypted copy.I have the certificate stored at personal windows certificate store. Is it possible to use this one? How can I access with the pdfReader object?
View 1 RepliesI am trying to export gridview (HTML Based) to a pdf in asp.net+vb.net (backend). When I click on the Export to PDF button the download window shows, but when you click on open Adobe reader will open but displays the message
" Adobe Reader Could not open 'test[1].pdf' because it is either not a supported file type or because the file has been damaged ( for example, it was sent as an email attachment and wasn't correctly decoded) ".
The coding for export to pdf is same for 5 different reports of which 4 are working fine, as well as export to Excel is also working fine for all 5 reports. Does it have any relation with the itextsharp dll version? (I am using itextsharp version 3.1.1.0)
how do i use pdfptable as a real table (A x B) instead of just (A x A)
declaring it this way gives me just one row:
Dim datatable As PdfPTable = New PdfPTable(4)
how can i declare it so that it has multiple rows and multiple columns?
in vb.net is it possible to get the coordinates of an image like if i do a
document.add (jpeg_image)
x_coordinate = jpeg_image.xcoordinate???????
i need to add a data table right after an image on a PDF in vb.net
[Code]...
i highlighted broccoli, buckwheat, butter, cabbage. these are all part of a data table that is supposed to go after the bottom SEVERE word because the entire thing that you see is one image called jpg2
I am trying to set a radio button in a PDF form using iTextSharp(open to other ways too).
[Code].....
How can I read the hyperlinks in PDF using ItextSharp ??
View 3 RepliesHow can I read PDF content with the itextsharp with the Pdfreader class. My PDF may include Plain text or Images of the text.
View 4 RepliesThere was a post with this topic earlier but the solution was not revealed due to security reasons. Is there a way for me to know the solution.
View 4 RepliesI'm trying to use a Unicode symbol in my PDF file with iTextSharp.Dim base As BaseFont = BaseFont.CreateFont("C:\WINDOWS\Fonts\WINGDING.TTF", BaseFont.IDENTITY_H, BaseFont.EMBEDDED)Dim wd As Font = New Font(base, 12, Font.NORMAL, BaseColor.BLACK)phrase = New Phrase("q", wd)
View 2 Repliesall this is my 1st post in this forums My query is that i em using itextsharp to attacted the Signature(Pfx) in the PDF but at the client side its shows me a question mark in the image itself,this is how it looks[URL]..The prb is tht i don't want to show this image (Hejmadi signatures) unless the user has trusted this certificate in order to remove tht queston mark
[Code]...
Is it possible to get What language is set to the PDF for Reading Options?
Example:English or German