fit image

  1. chjk

    B4J Question How to add an adaptive size image to Word

    I want to add an image that automatically changes size with the size of a Word document. How can I implement it. $"[img Dir=assets FileName="file name.png" Width=50 Height=50/]"$ This code can only fix the size and cannot automatically change the size.
  2. Brandsum

    Android Tutorial Fill or Fit image to ImageView

    Hi, Here is how you can set the scale mode of an ImageView like CSS background-size property. 'scale = cover,contain,fill Public Sub SetImageView(iv As ImageView,bmp As Bitmap, scale As String) Dim jo As JavaObject=iv jo.RunMethod("setImageBitmap",Array(bmp)) Select scale...
Top