Image Panning
-
I am trying to create a basic image viewer. I've looked all around the web and can't find any code to port to C# for image panning. What is the best way to implement image panning in C#? Would I have to do something like draw/remove x pixels depending on mouse movement or is there already a way to do it? Also, if you have a url with code in another language for image panning, please supply it :D Thanks.
-
I am trying to create a basic image viewer. I've looked all around the web and can't find any code to port to C# for image panning. What is the best way to implement image panning in C#? Would I have to do something like draw/remove x pixels depending on mouse movement or is there already a way to do it? Also, if you have a url with code in another language for image panning, please supply it :D Thanks.
-
You should be able to move the image object, not the actual pixels themselves. If that's all you want to do, then use the SetBounds function.
-
I am trying to create a basic image viewer. I've looked all around the web and can't find any code to port to C# for image panning. What is the best way to implement image panning in C#? Would I have to do something like draw/remove x pixels depending on mouse movement or is there already a way to do it? Also, if you have a url with code in another language for image panning, please supply it :D Thanks.