I am trying to get screenshot of the view as follows. I am getting Bitmap and I need to convert it to to Image to add into PDF generator.
using (var screensh
Bitmap bm = BitmapFactory.DecodeFile (path); MemoryStream stream = new MemoryStream (); bm.Compress (Bitmap.CompressFormat.Jpeg, 100, stream); Image img = Image.FromArray (stream.ToArray());