Hi. Trying
This code is not working - no error - but no image shown.....
Unsure about the 'tag' parameter - I have just used '1'....
Any ideas?
Thank you!
to use pinchzoomandmove to allow zooming of an image.
B4X:
Dim pnz As PinchZoomAndMove
Dim ImageView1 As ImageView
Dim bmp As Bitmap
bmp = LoadBitmap(File.DirAssets,"myimage.jpg")
ImageView1.Initialize("")
ImageView1.Bitmap = bmp
ImageView1.Gravity = Gravity.FILL
pnz.Initialize(ImageView1,"pnz",1,0.5,5,0.5,True,Me) ' what is the tag parameter?
This code is not working - no error - but no image shown.....
Unsure about the 'tag' parameter - I have just used '1'....
Any ideas?
Thank you!