/// <summary> /// Initializes a new instance of the <see cref="BitmapDecoder"/> class from a <see cref="BitmapDecoderInfo"/>. /// </summary> /// <param name="bitmapDecoderInfo">The bitmap decoder info.</param> /// <unmanaged>HRESULT IWICBitmapDecoderInfo::CreateInstance([Out, Fast] IWICBitmapDecoder** ppIBitmapDecoder)</unmanaged> public BitmapDecoder(BitmapDecoderInfo bitmapDecoderInfo) { bitmapDecoderInfo.CreateInstance(this); }