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. Web Development
  3. ASP.NET
  4. Draw shapes

Draw shapes

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
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.
  • V Offline
    V Offline
    VK Link
    wrote on last edited by
    #1

    Hi All, How would we draw an eclipse or square in asp.net? Do we have to import specific namespace or reference special dlls? Also, if we draw a square - how would we fill a value from previous page in this square? Thanks. vani

    G M 2 Replies Last reply
    0
    • V VK Link

      Hi All, How would we draw an eclipse or square in asp.net? Do we have to import specific namespace or reference special dlls? Also, if we draw a square - how would we fill a value from previous page in this square? Thanks. vani

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Where do you want to draw it? There is no user interface to draw on, as the user and the server normally are at completely different locations. The account used for running ASP.NET pages does not use a graphical user interface. --- b { font-weight: normal; }

      V 1 Reply Last reply
      0
      • G Guffa

        Where do you want to draw it? There is no user interface to draw on, as the user and the server normally are at completely different locations. The account used for running ASP.NET pages does not use a graphical user interface. --- b { font-weight: normal; }

        V Offline
        V Offline
        VK Link
        wrote on last edited by
        #3

        I would like it to be pre-drawn on the aspx page itself, with certain dimensions. Also found out you have to import System.Drawing namespace. But most of the examples on Microsoft site use Windows forms, I want this on web form.

        G 1 Reply Last reply
        0
        • V VK Link

          Hi All, How would we draw an eclipse or square in asp.net? Do we have to import specific namespace or reference special dlls? Also, if we draw a square - how would we fill a value from previous page in this square? Thanks. vani

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

          Hi there, Looks like the article[^] of Scott can give you an idea. In addition, you can also create a custom http handler file ending with .ashx to draw an image.

          1 Reply Last reply
          0
          • V VK Link

            I would like it to be pre-drawn on the aspx page itself, with certain dimensions. Also found out you have to import System.Drawing namespace. But most of the examples on Microsoft site use Windows forms, I want this on web form.

            G Offline
            G Offline
            Guffa
            wrote on last edited by
            #5

            You can't draw graphics in that way on a web page. A web page is only html and anything that can be put in an html page. Sadly, vector graphics is something that is not widely supported by browsers. You can have a look att SVG or VML. --- b { font-weight: normal; }

            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