[]
Specifies how a background image should be stretched to fill the destination rectangle.
public enum BackgroundImageLayout
Center = 1
Specifies to centre-align the image within the destination rectangle.
None = 3
Specifies to left-align the image at the top across the destination rectangle.
Stretch = 0
Specifies to resize the image to fill the destination dimensions. The aspect ratio is not preserved.
Zoom = 2
Specifies to resize the image to fit in the destination dimensions while preserving the image’s native aspect ratio.