BitmapSizeOptions.FromEmptyOptions Method ()

 

Initializes a new instance of BitmapSizeOptions with empty sizing properties.

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

public static BitmapSizeOptions FromEmptyOptions()

The returned BitmapSizeOptions will have its Rotation property set to Rotate0, its PreservesAspectRatio set to true, its PixelHeight set to zero, and its PixelWidth set to zero.

When passed to a TransformedBitmap, the input is the same as the output.

.NET Framework
Available since 3.0
Return to top
Show: