'Declaration Public Property ImageScaling As ImageScaling
public ImageScaling ImageScaling {get; set;}
Note that the original aspect ratio of the image is always maintained.
Note that the scaling can be changed for a specific image using the Scaling property.
By default, images whose natural size is smaller than that of the image display area are not resized to fit in the image display area, whereas images whose natural size is larger are resized. In other words, images are shrunk when necessary, but not expanded.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2