Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. How to add footer in existing pdf -iTextSharp

How to add footer in existing pdf -iTextSharp

Scheduled Pinned Locked Moved SharePoint
tutorialquestion
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rahul48
    wrote on last edited by
    #1

    I have been trying to figure out if it is possible to add a footer to an existing PDF document. Every example I have seen is for adding a footer to a document that has just been created using PDFWriter as opposed to getting a document using PDFReader and then adding a footer to it. Does anyone know of a way that a footer can be added to an existing PDF? Thanks.

    T 1 Reply Last reply
    0
    • R Rahul48

      I have been trying to figure out if it is possible to add a footer to an existing PDF document. Every example I have seen is for adding a footer to a document that has just been created using PDFWriter as opposed to getting a document using PDFReader and then adding a footer to it. Does anyone know of a way that a footer can be added to an existing PDF? Thanks.

      T Offline
      T Offline
      trunghieu07
      wrote on last edited by
      #2

      What do you using barcode number? you can using code to below: //Create footer variable of doc HeaderFooter footer = doc.Sections[1].Footers[WdHeaderFooterIndex.wdHeaderFooterPrimary]; //Set alignment of footer range footer.Range.ParagraphFormat.Alignment = WdParagraphAlignment.wdAlignParagraphLeft; //Add BRCode code image to footer footer.Range.InlineShapes.AddPicture(codeImagePath);

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups