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. Movable Selection Box

Movable Selection Box

Scheduled Pinned Locked Moved C#
graphicsquestion
3 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.
  • R Offline
    R Offline
    R Myers
    wrote on last edited by
    #1

    I have a program where i need to display an image in a picturebox & have users be able to select a part of the image for printing. I haven't be able to find any method of accomplishing this. I've tried drawing a rectangle on the image but drawing and re-drawing the image take far too long (these are very large images). Any ideas/links? Thanks R.Myers

    C 1 Reply Last reply
    0
    • R R Myers

      I have a program where i need to display an image in a picturebox & have users be able to select a part of the image for printing. I haven't be able to find any method of accomplishing this. I've tried drawing a rectangle on the image but drawing and re-drawing the image take far too long (these are very large images). Any ideas/links? Thanks R.Myers

      C Offline
      C Offline
      Chintan Desai
      wrote on last edited by
      #2

      It is obvious to use rectangle to allow user to draw from source x,y coordinate to destination x,y coord. BitBlt()(Bitmap Block Transfer) available in VC would help to do ur task easily. ;)

      Regards Chintan www.visharadsoft.com (Nothing is so purify as KNOWLEDGE)

      R 1 Reply Last reply
      0
      • C Chintan Desai

        It is obvious to use rectangle to allow user to draw from source x,y coordinate to destination x,y coord. BitBlt()(Bitmap Block Transfer) available in VC would help to do ur task easily. ;)

        Regards Chintan www.visharadsoft.com (Nothing is so purify as KNOWLEDGE)

        R Offline
        R Offline
        R Myers
        wrote on last edited by
        #3

        Thanks for the response. Do you (or anyone else) know of a newbie-type guide to using BitBlt? I've been looking, but i haven't found anything. Thanks again R.Myers

        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