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. General Programming
  3. C#
  4. need help on C# ITEXT - Convert html to pdf

need help on C# ITEXT - Convert html to pdf

Scheduled Pinned Locked Moved C#
csharpjavahtmldata-structureshelp
2 Posts 2 Posters 0 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.
  • Y Offline
    Y Offline
    YiXiang_89
    wrote on last edited by
    #1

    hi all, This is what i found on the web public static PdfFileSpecification fileEmbedded(PdfWriter writer,String filePath,String fileDisplay, byte[] fileStore,int compressionLevel) { Parameters: writer - the PdfWriter filePath - the file path fileDisplay - the file information that is presented to the user fileStore - the byte array with the file. If it is not null compressionLevel - the compression level to be used for compressing the file it takes precedence over filePath } <---- what to type inside? So this help to transfer the html that have been converted to pdf to store inside a file ? does anyone know how to convert html to pdf using C#? Cause the web i find are about java Thank you

    Y 1 Reply Last reply
    0
    • Y YiXiang_89

      hi all, This is what i found on the web public static PdfFileSpecification fileEmbedded(PdfWriter writer,String filePath,String fileDisplay, byte[] fileStore,int compressionLevel) { Parameters: writer - the PdfWriter filePath - the file path fileDisplay - the file information that is presented to the user fileStore - the byte array with the file. If it is not null compressionLevel - the compression level to be used for compressing the file it takes precedence over filePath } <---- what to type inside? So this help to transfer the html that have been converted to pdf to store inside a file ? does anyone know how to convert html to pdf using C#? Cause the web i find are about java Thank you

      Y Offline
      Y Offline
      Yusuf
      wrote on last edited by
      #2

      YiXiang_89 wrote:

      Cause the web i find are about java

      well, did you look into the java code. If you know C#, it should not be that hard to understand the java code.

      Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]

      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