[]
IWICBitmapScaler
[Guid("00000302-a8f2-4877-ba0a-fd2b6645fb94")]
public class BitmapScaler : BitmapSource, IDisposable, IUnknown
Initializes a new instance of the BitmapScaler class.
public BitmapScaler(IntPtr nativePtr)
nativePtr System.IntPtrThe native pointer.
Initializes a new instance of the BitmapScaler class.
public static BitmapScaler Create(ImagingFactory factory)
factory ImagingFactoryThe factory.
HRESULT IWICBitmapScaler::Initialize([In] IWICBitmapSource* pISource,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In] WICBitmapInterpolationMode mode)
public void Initialize(BitmapSource sourceRef, int width, int height, BitmapInterpolationMode mode)
sourceRef BitmapSourcewidth intheight intmode BitmapInterpolationModePerforms an explicit conversion from System.IntPtr to BitmapScaler.
public static explicit operator BitmapScaler(IntPtr nativePointer)
nativePointer System.IntPtr