Android Question camEx.Zoom and proportionaly enlarged label with the zoomed object

js486dog

Active Member
Licensed User
Longtime User
Please can someone give me the idea how to do ?

I have got the camera window in B4A project (Camera library).
In the camera window is the red label with some width.
My phone is on the stable distance from the zooming object (width of the door ...).
Now I need to proporcionaly enlarge the label with the zoomed object (I have used CameraExClass).

for zoom = 0 is width of the red label = Panel1.Width/10 and Panel1.Width = 100%x

Please look at the attached image.

upload_2018-3-21_16-13-45.png
 

js486dog

Active Member
Licensed User
Longtime User
Please can someone give me the idea how to do ?

I have got the camera window in B4A project (Camera library).
In the camera window is the red label with some width.
My phone is on the stable distance from the zooming object (width of the door ...).
Now I need to proporcionaly enlarge the label with the zoomed object (I have used CameraExClass).

for zoom = 0 is width of the red label = Panel1.Width/10 and Panel1.Width = 100%x

Please look at the attached image.

View attachment 65744

It was solved HERE .
 
Upvote 0
Top