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. WPF
  4. Flipping Image? [modified]

Flipping Image? [modified]

Scheduled Pinned Locked Moved WPF
csharpwpfhelpquestion
17 Posts 4 Posters 38 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.
  • K Offline
    K Offline
    KBou
    wrote on last edited by
    #1

    Hi, I'm looking for a way to flip an Image Object horizontally and vertically in C#/WPF. I couldn't find anything on the web. Hope someone can help me. Thanks, Kevin

    modified on Wednesday, May 14, 2008 4:07 AM

    P L 2 Replies Last reply
    0
    • K KBou

      Hi, I'm looking for a way to flip an Image Object horizontally and vertically in C#/WPF. I couldn't find anything on the web. Hope someone can help me. Thanks, Kevin

      modified on Wednesday, May 14, 2008 4:07 AM

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      In order to flip an image, you need to use the ScaleTransform. For instance:

      <ScaleTransform ScaleX="1" ScaleY="-1">

      This flips over the Y.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      K 1 Reply Last reply
      0
      • P Pete OHanlon

        In order to flip an image, you need to use the ScaleTransform. For instance:

        <ScaleTransform ScaleX="1" ScaleY="-1">

        This flips over the Y.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        K Offline
        K Offline
        KBou
        wrote on last edited by
        #3

        Wow thanks. I've been searching for over an hour. And now I've got it in less then 10 minutes. Thank you for your help.

        P 1 Reply Last reply
        0
        • K KBou

          Wow thanks. I've been searching for over an hour. And now I've got it in less then 10 minutes. Thank you for your help.

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          No problem. Glad to help.

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          1 Reply Last reply
          0
          • K KBou

            Hi, I'm looking for a way to flip an Image Object horizontally and vertically in C#/WPF. I couldn't find anything on the web. Hope someone can help me. Thanks, Kevin

            modified on Wednesday, May 14, 2008 4:07 AM

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Kevin, Have you downloaded Express Blend yet? If not, currently the March 2008 Preview is free. The is a SUPER GUI WPF tool that can help you accomplish tasks by setting properties and learn WPF at the same time by studying the XAML code.

            Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

            Just a grain of sand on the worlds beaches.

            E 1 Reply Last reply
            0
            • L Lost User

              Kevin, Have you downloaded Express Blend yet? If not, currently the March 2008 Preview is free. The is a SUPER GUI WPF tool that can help you accomplish tasks by setting properties and learn WPF at the same time by studying the XAML code.

              Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

              Just a grain of sand on the worlds beaches.

              E Offline
              E Offline
              Ed Poore
              wrote on last edited by
              #6

              Karl Shifflett wrote:

              Have you downloaded Express Blend yet?

              Full version completely free for me :-D - Google "Microsoft Dreamspark".  I know it's a clever marketing ploy but you gotta love them for it.  Currently installing Server 2003 onto a spare hard-drive ready for return to Uni in three weeks (planning to leave the desktop here at home now I've got a new laptop).

              L P 2 Replies Last reply
              0
              • E Ed Poore

                Karl Shifflett wrote:

                Have you downloaded Express Blend yet?

                Full version completely free for me :-D - Google "Microsoft Dreamspark".  I know it's a clever marketing ploy but you gotta love them for it.  Currently installing Server 2003 onto a spare hard-drive ready for return to Uni in three weeks (planning to leave the desktop here at home now I've got a new laptop).

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Ed, Blend has been free since it came out, because they keep releasing new beta and preview versions. At some point, a purchase will be required unless you have an MSDN subscription, etc. Super product!

                Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

                Just a grain of sand on the worlds beaches.

                E 1 Reply Last reply
                0
                • L Lost User

                  Ed, Blend has been free since it came out, because they keep releasing new beta and preview versions. At some point, a purchase will be required unless you have an MSDN subscription, etc. Super product!

                  Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

                  Just a grain of sand on the worlds beaches.

                  E Offline
                  E Offline
                  Ed Poore
                  wrote on last edited by
                  #8

                  I realise that it's been free with respects to the betas but if people want a "stable" version then I thought it wasn't? Sorry just wanted to shout out about the DreamSpark project because it's so great :-)

                  L 1 Reply Last reply
                  0
                  • E Ed Poore

                    I realise that it's been free with respects to the betas but if people want a "stable" version then I thought it wasn't? Sorry just wanted to shout out about the DreamSpark project because it's so great :-)

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    Very stable. We have the preview in production and have all the betas in production since day one. It's just a super XAML tool, so it really won't hurt your application the build. A few very minor items to get used to, but he payback is huge.

                    Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

                    Just a grain of sand on the worlds beaches.

                    E 1 Reply Last reply
                    0
                    • L Lost User

                      Very stable. We have the preview in production and have all the betas in production since day one. It's just a super XAML tool, so it really won't hurt your application the build. A few very minor items to get used to, but he payback is huge.

                      Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

                      Just a grain of sand on the worlds beaches.

                      E Offline
                      E Offline
                      Ed Poore
                      wrote on last edited by
                      #10

                      I'd certainly look into it but at the moment my programming seems to being steered towards Delphi X| (Uni) and ASP.NET.

                      1 Reply Last reply
                      0
                      • E Ed Poore

                        Karl Shifflett wrote:

                        Have you downloaded Express Blend yet?

                        Full version completely free for me :-D - Google "Microsoft Dreamspark".  I know it's a clever marketing ploy but you gotta love them for it.  Currently installing Server 2003 onto a spare hard-drive ready for return to Uni in three weeks (planning to leave the desktop here at home now I've got a new laptop).

                        P Offline
                        P Offline
                        Pete OHanlon
                        wrote on last edited by
                        #11

                        Ed - Blend has a bit of a "learning curve" associated with it. It seems so counterintuitive until you get into it (when you realise that it is incredibly logical). I found the following resources really useful to help me learn Blend: http://wpf.netfx3.com/files/folders/labs/default.aspx[^] - has a couple of Blend samples. The LOB app is excellent. http://movielibrary.lynda.com/html/modPage.asp?ID=384[^]. Unlike a lot of Lynda.com training - these videos are free and cover the basics quite well.

                        Deja View - the feeling that you've seen this post before.

                        My blog | My articles

                        E L 2 Replies Last reply
                        0
                        • P Pete OHanlon

                          Ed - Blend has a bit of a "learning curve" associated with it. It seems so counterintuitive until you get into it (when you realise that it is incredibly logical). I found the following resources really useful to help me learn Blend: http://wpf.netfx3.com/files/folders/labs/default.aspx[^] - has a couple of Blend samples. The LOB app is excellent. http://movielibrary.lynda.com/html/modPage.asp?ID=384[^]. Unlike a lot of Lynda.com training - these videos are free and cover the basics quite well.

                          Deja View - the feeling that you've seen this post before.

                          My blog | My articles

                          E Offline
                          E Offline
                          Ed Poore
                          wrote on last edited by
                          #12

                          Thanks for the suggestions, however I think I'd better get on with revision rather than messing around with Blend :sigh:

                          P 1 Reply Last reply
                          0
                          • E Ed Poore

                            Thanks for the suggestions, however I think I'd better get on with revision rather than messing around with Blend :sigh:

                            P Offline
                            P Offline
                            Pete OHanlon
                            wrote on last edited by
                            #13

                            Finals this year?

                            Deja View - the feeling that you've seen this post before.

                            My blog | My articles

                            E 1 Reply Last reply
                            0
                            • P Pete OHanlon

                              Ed - Blend has a bit of a "learning curve" associated with it. It seems so counterintuitive until you get into it (when you realise that it is incredibly logical). I found the following resources really useful to help me learn Blend: http://wpf.netfx3.com/files/folders/labs/default.aspx[^] - has a couple of Blend samples. The LOB app is excellent. http://movielibrary.lynda.com/html/modPage.asp?ID=384[^]. Unlike a lot of Lynda.com training - these videos are free and cover the basics quite well.

                              Deja View - the feeling that you've seen this post before.

                              My blog | My articles

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              Pete & Ed, Pete is correct. The first time i saw Blend, I went nuts. AHHHHHHHHHHHH,,,,, WHAT'S THIS????????? Then I started to feel the love and look at Blend as a designer tool, then went around giving presentations showing developers this is the coolest tool, with an "artboard" and "property inspector." I used lynda.com for two months and also have a subscription to Total Training. The Microsoft Expressin site also has many links to free training material. In attition, you can surf the web, many people have videos out there, showing off what they did with Blend.

                              Cheers, Karl » CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP Profile

                              Just a grain of sand on the worlds beaches.

                              1 Reply Last reply
                              0
                              • P Pete OHanlon

                                Finals this year?

                                Deja View - the feeling that you've seen this post before.

                                My blog | My articles

                                E Offline
                                E Offline
                                Ed Poore
                                wrote on last edited by
                                #15

                                Nope end of first year and I haven't really paid that much attention through the year :rolleyes:

                                P 1 Reply Last reply
                                0
                                • E Ed Poore

                                  Nope end of first year and I haven't really paid that much attention through the year :rolleyes:

                                  P Offline
                                  P Offline
                                  Pete OHanlon
                                  wrote on last edited by
                                  #16

                                  Ahhh. But seriously though - Delphi???? This is the reason grads have so much trouble finding decent work when they leave Uni - lack of practical experience (although you should be all right in that respect).

                                  Deja View - the feeling that you've seen this post before.

                                  My blog | My articles

                                  E 1 Reply Last reply
                                  0
                                  • P Pete OHanlon

                                    Ahhh. But seriously though - Delphi???? This is the reason grads have so much trouble finding decent work when they leave Uni - lack of practical experience (although you should be all right in that respect).

                                    Deja View - the feeling that you've seen this post before.

                                    My blog | My articles

                                    E Offline
                                    E Offline
                                    Ed Poore
                                    wrote on last edited by
                                    #17

                                    Though not a Computer Science degree as you might think.  Electrical & Electronics Engineering for me, although at the moment I am doing much better in the software & digital electronics side of things, suprise suprise :rolleyes:

                                    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