Check out example codes for "microsoft forms create bitmap". It will help you in understanding the concepts better.

Code Example 1

//Create a Bitmap with resolution of 100,100
Bitmap bmp = new Bitmap(100,100);
  
//Create a Bitmap from an image
Bitmap bmp = new Bitmap("Image File Path");

Learn ReactJs, React Native from akashmittal.com