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. Rotate Flip Image isn't working

Rotate Flip Image isn't working

Scheduled Pinned Locked Moved C#
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.
  • A Offline
    A Offline
    adonisv
    wrote on last edited by
    #1

    I'm just trying to flip an image with the built in rotate flip function. I've put it in a case switch which gets called then I push a radio buttion. The function is getting called but nothing is happening! :( I push the nintey degrees flip radio button to set a class variable case to 0. private void NinetyDegrees_CheckedChanged(object sender, System.EventArgs e) { this.m_iCase = 0; } Then a push a button called transform image to call this switch. private void TransformImage_Click(object sender, System.EventArgs e) { switch (this.m_iCase) { case 0 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate90FlipNone); break; case 1 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate180FlipNone); break; case 2 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate270FlipNone); break; //....you get it. } } Nothing happens... :((

    C 1 Reply Last reply
    0
    • A adonisv

      I'm just trying to flip an image with the built in rotate flip function. I've put it in a case switch which gets called then I push a radio buttion. The function is getting called but nothing is happening! :( I push the nintey degrees flip radio button to set a class variable case to 0. private void NinetyDegrees_CheckedChanged(object sender, System.EventArgs e) { this.m_iCase = 0; } Then a push a button called transform image to call this switch. private void TransformImage_Click(object sender, System.EventArgs e) { switch (this.m_iCase) { case 0 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate90FlipNone); break; case 1 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate180FlipNone); break; case 2 : MainPictureViewer.Image.RotateFlip(RotateFlipType.Rotate270FlipNone); break; //....you get it. } } Nothing happens... :((

      C Offline
      C Offline
      Charlie Williams
      wrote on last edited by
      #2

      MainPictureViewer.Refresh() Charlie if(!curlies){ return; }

      A 1 Reply Last reply
      0
      • C Charlie Williams

        MainPictureViewer.Refresh() Charlie if(!curlies){ return; }

        A Offline
        A Offline
        adonisv
        wrote on last edited by
        #3

        :->

        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