Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I want to create image zoom an pan control. I need to have a rectangular area which will represent the smallest size of image, i can pinch zoom my image and the areas of image outside the rectangle should have an oppacity mask. I tried using viewport control

I have viewport control, and i placed image in it, i can pan it in the viewport area. The thing is when i pinch zoom image, the zones outside of viewport are not visible.
Is there a way to make zones that are outside the bounds of viewport visible
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900