Scaling is an important requirement of image processing as it resizes (increases and decreases the size) image. Bitmap also allows scaling in and out an image through the InterpolationMode property of the Scaler class.
The image below shows scaling in and scaling out feature.
The following code illustrates scaling in and scaling out an image on button clicks. This example uses the sample created in the Quick start.