Let me explain my scenario i have a pdf file containing company information
and info has text along with company logo.
so i have to read company information(text and company logo(image)) and then
i need convert it to binary format and save in Company table in database.
like company name in name column and logo in logo column.
i'm able to read the text and image separately but i don't how to read
the text and image line by line so that i can save company information and logo in database.
I'm using SelectPDF's HTML to PDF converter to generate a PDF based on an HTML document containing a wide table of data. I'd like this table to wrap onto a second page (or Nth) page if needed, but instead SelectPDF squeezes the table into the space available on the page size I've selected.
I want to Repeat my Column data on each page when i export on PDF
I am using RDLC Reporting my report generated in Landscape now i want to show my Student Name Column data on each page or multiple page..
is there any solution ?
I am merging multiple PDF files using iTextSharp, but I need to re-number the pages by section. For example, I am merging a PDF file that corresponds to the cover of a book, with a PDF file that has the actual content of the book. I want to use I,II,III numbering system for the cover, then use 1,2,3 numbering for the content, so that when the user enters page number 9 in the navigation box, it'll take him/her to the corresponding page in the content.
In Adobe Acrobat, this can be done by selecting the pages and clicking on Number Pages. I would like to do the same but using c# code. Thanks!
This is a short snippet with the relevant lines you'll need:
var labels = new PdfPageLabels();
labels.AddPageLabel(sectionPageNumber, pageNumberingStyle, customText, startingNumber);
.
.
.
pdfWriter.PageLabels = labels;
In this snippet:
sectionPageNumber is the page number where the section starts,
pageNumberingStyle is a value such as PdfPageLabels.UPPERCASE_ROMAN_NUMERALS, PdfPageLabels.DECIMAL_ARABIC_NUMERALS, etc.
customText is any text that needs to go with the page number, and
startingNumber is the page number that this numbering style would start.
I am building a table that spans multiple pages of my PDF. I would like the column header of the table to appear as the first row on each page. Is there some way that I can detect when the page is breaking and insert the column headers rather than the next data row?
Check the iTextSharp tutorial on SourceForge, chapter 5, section "Large Tables," example 10.
You basically call EndHeaders() on your Table.