Dim canvas1 As Canvas 'you need to asign the canvas to a panel, which is not done is this code
Dim DestRect1 As Rect
Dim SrcRect1 As Rect
Dim bitmap1 As Bitmap 'will be your original bitmap
Dim bitmap2 As Bitmap
bitmap1.Initialize(File.DirAssets, "myicons.jpg")
DestRect1.Initialize( 0, 0, 100dip,100dip1 )
SrcRect1.Initialize(0,0,bitmap1.Width,bitmap1.Height)
canvas1.DrawBitmap( bitmap1, SrcRect1, DestRect1) 'draws the bitmap to the destination clip rectangle.
bitmap2 = canvas1.Bitmap
'then go on with bitmap2 and draw it on a imageview