Free Support Forum - groupdocs.com

Header and Footer wen convert to pdf or doc


#1

PDF_e_templates_para_cabeçalho,_rodapé_e_marca_dágua_para_geração_do_PDF.zip (1.8 MB)
helo, Is there any way to add header and footer when converting a file to pdf or doc.
Ex: Pagination, page 1, page 2. Text with images.

our system has support for passing the header / footer and the watermark for an html that it uses to generate.

Folows the ex file.
Politicas_139_0.pdf (1.8 MB)


#2

@foller,

Can you please specify your platform (Java or .NET)?


#3

@atirtahir3

.net MVC, And .Net Forms


#4

@foller,

You cannot add header or footer when converting a file to PDF or DOCX. However, you can add watermark while document conversion.

For instance when you are converting a HTML file to PDF, you can add watermark in the output.

PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.WatermarkOptions.Text = "some watermark";
saveOptions.ConvertFileType = PdfSaveOptions.PdfFileType.Pdf;

API also facilitates image watermark.