G Graeme Mitchell Member Licensed User Jul 13, 2021 #1 I have the following code B4X: picCanvas.Initialize(pnlField) and I add some rectangles to it and some lines, basically creating a soccer field on my iPhone. Is there a way when i click a button that it can zoom in on the goal area only?
I have the following code B4X: picCanvas.Initialize(pnlField) and I add some rectangles to it and some lines, basically creating a soccer field on my iPhone. Is there a way when i click a button that it can zoom in on the goal area only?
Erel B4X founder Staff member Licensed User Longtime User Jul 14, 2021 #2 Two options: 1. Draw the zoomed area yourself. 2. Show the bitmap with a large ImageView inside a panel. You can modify the ImageView size and position to zoom different areas. This is how ZoomImageView works. [B4X] ZoomImageView - Cross platform zoomable + pannable image view Upvote 0
Two options: 1. Draw the zoomed area yourself. 2. Show the bitmap with a large ImageView inside a panel. You can modify the ImageView size and position to zoom different areas. This is how ZoomImageView works. [B4X] ZoomImageView - Cross platform zoomable + pannable image view