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. .NET (Core and Framework)
  4. image control

image control

Scheduled Pinned Locked Moved .NET (Core and Framework)
question
4 Posts 4 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.
  • D Offline
    D Offline
    Dean Moe
    wrote on last edited by
    #1

    Does anybody know where I can get a control like the picture control in Microsoft Word or PhotoDraw? I am in need of that type of image control that floats above another image (using layers), rotates freely and is resizable.

    T R V 3 Replies Last reply
    0
    • D Dean Moe

      Does anybody know where I can get a control like the picture control in Microsoft Word or PhotoDraw? I am in need of that type of image control that floats above another image (using layers), rotates freely and is resizable.

      T Offline
      T Offline
      Thomas Stockwell
      wrote on last edited by
      #2

      You can always write your own so that you have full control of what can and cannot be done. As for MSWord, it may be possible to to use VSTO to get the effect, but I have doubts.

      Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog

      1 Reply Last reply
      0
      • D Dean Moe

        Does anybody know where I can get a control like the picture control in Microsoft Word or PhotoDraw? I am in need of that type of image control that floats above another image (using layers), rotates freely and is resizable.

        R Offline
        R Offline
        Richard Blythe
        wrote on last edited by
        #3

        In order to have the functionality you want, you will have to write your own drawing code. Oh don't frown like that! The reason is because of the way windows controls behave. They were designed to look after their own paint code and they're definitely not designed for transparent areas. You can simulate transparencies with the Regions class but that option will produce jagged edges. Please don't force your users to put up with objects like that. If you've got some spare time, jump over to an article I've written on GDI+ code: http://www.codeproject.com/KB/GDI-plus/gdi_plus_code_generator.aspx[^] Download the source code and look at the structure I've implemented for drawing basic shapes. Use this as a spring board for your graphics code. Cheers! Richard

        I've used up all my sick days, so today I'm calling in dead.

        1 Reply Last reply
        0
        • D Dean Moe

          Does anybody know where I can get a control like the picture control in Microsoft Word or PhotoDraw? I am in need of that type of image control that floats above another image (using layers), rotates freely and is resizable.

          V Offline
          V Offline
          vikas amin
          wrote on last edited by
          #4

          I think rotation is not so simple to be done you should consider creating one or might be have to buy one

          Vikas Amin

          My First Article on CP" Virtual Serial Port "[^]

          modified on Thursday, July 24, 2008 5:33 PM

          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