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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How can i read pdf file in .net?

How can i read pdf file in .net?

Scheduled Pinned Locked Moved C#
questioncsharp
4 Posts 3 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.
  • S Offline
    S Offline
    sush8
    wrote on last edited by
    #1

    I uploaded word doc and internally by using third party tool i converted it to pdf.Now, if i upload pdf file it should save as pdf file.I mean just to read a pdf file.Please suggest...

    L P 2 Replies Last reply
    0
    • S sush8

      I uploaded word doc and internally by using third party tool i converted it to pdf.Now, if i upload pdf file it should save as pdf file.I mean just to read a pdf file.Please suggest...

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I have found some nice links for the same. Find it useful. Converting PDF to Text in C#[^] Extract Text from PDF in C# (100% .NET)[^] HTH

      Jinal Desai - LIVE Experience is mother of sage....

      1 Reply Last reply
      0
      • S sush8

        I uploaded word doc and internally by using third party tool i converted it to pdf.Now, if i upload pdf file it should save as pdf file.I mean just to read a pdf file.Please suggest...

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Do you have the filename at all? If so, just check the extension - I know that it's no guarantee that the file is really a pdf, but checking for that would require you to analyze the file header which is a darn site more work.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        S 1 Reply Last reply
        0
        • P Pete OHanlon

          Do you have the filename at all? If so, just check the extension - I know that it's no guarantee that the file is really a pdf, but checking for that would require you to analyze the file header which is a darn site more work.

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          S Offline
          S Offline
          sush8
          wrote on last edited by
          #4

          I got the solution but its reading only some files.Do you have any idea how to convert text to pdf file?

          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