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. how to scale or zoomx and zoomy?

how to scale or zoomx and zoomy?

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

    dear all how to scale or zoomx and zoomy for one image size? for example, my image size is 1624, 1224, but my pictureBox is 680,580, how to scale and zoomx and zoomy, make sure all image will be centered and display in the pictureBox. thanks

    B P 2 Replies Last reply
    0
    • Z zhiyuan16

      dear all how to scale or zoomx and zoomy for one image size? for example, my image size is 1624, 1224, but my pictureBox is 680,580, how to scale and zoomx and zoomy, make sure all image will be centered and display in the pictureBox. thanks

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      Try google search[^].


      I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com

      1 Reply Last reply
      0
      • Z zhiyuan16

        dear all how to scale or zoomx and zoomy for one image size? for example, my image size is 1624, 1224, but my pictureBox is 680,580, how to scale and zoomx and zoomy, make sure all image will be centered and display in the pictureBox. thanks

        P Offline
        P Offline
        phil o
        wrote on last edited by
        #3

        Hi, You should look at the SizeMode property of the PictureBox class. This is really a simple issue, you should look for properties of objects you're using before posting on this forum. If you give yourself a little effort, people here will be more likely to help you. Regards.

        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