Pflichtfeld Active Member Licensed User May 4, 2020 #1 Erel helps, getting a bitmap from a b4xview with these lines B4X: Dim iv As ImageView = B4XView1 Dim bmp As Bitmap = iv.Bitmap This is no crossplattform way, isn't it? Is there a crossplattform way as well?
Erel helps, getting a bitmap from a b4xview with these lines B4X: Dim iv As ImageView = B4XView1 Dim bmp As Bitmap = iv.Bitmap This is no crossplattform way, isn't it? Is there a crossplattform way as well?
Erel B4X founder Staff member Licensed User Longtime User May 4, 2020 #2 There is always a cross platform way as you can write: B4X: Dim bmp As B4XBitmap #If B4A or B4i bmp = iv.Bitmap #Else bmp = iv.GetImage #End If The next version of XUI libraries will include B4XView.GetBitmap method. Upvote 0
There is always a cross platform way as you can write: B4X: Dim bmp As B4XBitmap #If B4A or B4i bmp = iv.Bitmap #Else bmp = iv.GetImage #End If The next version of XUI libraries will include B4XView.GetBitmap method.