Convert a PDF form to a "locked" flat PDF using iTextSharp - itext

I'm using iTextSharp to fill a PDF form, and I want the PDF to be transformed into a flat PDF.
I tried using PdfStamper.FormFlattening, but it only "locks" the form, which can be unlocked easily.
I want the resulting PDF to be as the file generated when you "Print as PDF" the PDF form. Smaller with all static text (no more form).
Thanks

Related

FPDP useTemplate does not copy the buttons (forms)

I am using the useTemplate method of FPDF to create a PDF with lesser pages than the original file. Each page has 4 Form field buttons but these buttons are not copied over to the new PDF file.
Is this achievable with FPDF?
Kind regards,
Baran

iTextsharp read text and image from pdf

We have pdf files which have mixed data of text and images. We can get text and images separately but how we can get text and image with same exact format on pdf file? like 3 line of text and then image and again text etc...

how to keep pdf format while using itextSharp

I am new in using itextsharp: i searched for how to keep pdf formatting while using itextsharp but found none. is there anything new about keeping pdf format in text?
please help. I want to keep format of page number and fonts of text headers and sub headers as in chapter heading etc

iPhone : Creating PDF file

I want to create PDF file which contains images and text.
The text length for PDF is not sure.
So How do I determine the number of pages the PDF will going to create ?

PDF to HTML in iPhone

Is it possible to convert a PDF page in to HTML format using any objective-c library. I want to enable the text selection on PDF files.
#swiecki approach is not valid for pdfs
My suggestion is to use CoreText and add an overlay over the pdf view.
But it will be a long and tedious process as you need to parse the pdf to find coordinates of every letter.