Fit the image into the destination rectangle while maintaining the aspect ratio. If the image size is smaller than the destination rectangle, no resizing is done
0x00000002
FitAlways
Always fit the image into the destination rectangle while maintaining the aspect ratio even if the image size is smaller than the destination rectangle
0x00000003
FitWidth
Fit the image width to be the size of the width of the destination rectangle while maintaining the aspect ratio
0x00000004
Stretch
Fit the image to fill the destination rectangle. Aspect ratio might not be maintained.
0x00000005
FitHeight
Fit the image height to be the size of the height of the destination rectangle while maintaining the aspect ratio