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. PDF area selection

PDF area selection

Scheduled Pinned Locked Moved C#
csharpquestion
5 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.
  • M Offline
    M Offline
    Mercurius84
    wrote on last edited by
    #1

    Hi, Is there a way for select multiple pdf area with mouse and get it's coordinates using c#? Thank you in advance

    M S 2 Replies Last reply
    0
    • M Mercurius84

      Hi, Is there a way for select multiple pdf area with mouse and get it's coordinates using c#? Thank you in advance

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      You have all the mouse events available to you, you would need to have a way of defining the location and size of the PDF, then you do it with a couple of clicks, top/left and bottom/right. That would define the area withing the already defined document area.

      Never underestimate the power of human stupidity RAH

      M 1 Reply Last reply
      0
      • M Mercurius84

        Hi, Is there a way for select multiple pdf area with mouse and get it's coordinates using c#? Thank you in advance

        S Offline
        S Offline
        Sivaraman Dhamodharan
        wrote on last edited by
        #3

        The Active-X control below has the rich functionality that you are asking: http://www.visagesoft.com/products/pdfviewerx/[^]

        Programming Article

        M 1 Reply Last reply
        0
        • M Mycroft Holmes

          You have all the mouse events available to you, you would need to have a way of defining the location and size of the PDF, then you do it with a couple of clicks, top/left and bottom/right. That would define the area withing the already defined document area.

          Never underestimate the power of human stupidity RAH

          M Offline
          M Offline
          Mercurius84
          wrote on last edited by
          #4

          Hi Eventually, I did I used Adobe PDF Reader object in the form itself (axAcroPDF). I open the pdf file in this object. and then I create the MouseUp, MouseDown and MouseDrag event. It only can detects outer layer of the pdf object. It could not detect the pdf inside.. That's why i want to get some advise, is there any alternative. Thanks

          1 Reply Last reply
          0
          • S Sivaraman Dhamodharan

            The Active-X control below has the rich functionality that you are asking: http://www.visagesoft.com/products/pdfviewerx/[^]

            Programming Article

            M Offline
            M Offline
            Mercurius84
            wrote on last edited by
            #5

            Hi many thanks for the recommendation. any free SDK or API to use? my main object is I highlight the text in the pdf. I hit a button, it captures the coordinate of it.. I could not find much information pertaining the axAcroPDF. Thanks

            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