Ejemplo n.º 1
0
     /// <summary>
     /// Initializes a new instance of the <see cref="BitmapDecoder"/> class.
     /// </summary>
     /// <param name="factory">The factory.</param>
     /// <param name="containerFormatGuid">The container format GUID.</param>
     /// <param name="guidVendorRef">The GUID vendor ref.</param>
     /// <unmanaged>HRESULT IWICImagingFactory::CreateDecoder([In] const GUID&amp; guidContainerFormat,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICBitmapDecoder** ppIDecoder)</unmanaged>	
     public BitmapDecoder(ImagingFactory factory, Guid containerFormatGuid, System.Guid guidVendorRef)
     {
         factory.CreateDecoder(containerFormatGuid, guidVendorRef, this);        
 
     }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BitmapDecoder"/> class.
 /// </summary>
 /// <param name="factory">The factory.</param>
 /// <param name="containerFormatGuid">The container format GUID.</param>
 /// <param name="guidVendorRef">The GUID vendor ref.</param>
 /// <unmanaged>HRESULT IWICImagingFactory::CreateDecoder([In] const GUID&amp; guidContainerFormat,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICBitmapDecoder** ppIDecoder)</unmanaged>
 public BitmapDecoder(ImagingFactory factory, Guid containerFormatGuid, System.Guid guidVendorRef)
 {
     factory.CreateDecoder(containerFormatGuid, guidVendorRef, this);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BitmapDecoder"/> class from a guid. <see cref="BitmapDecoderGuids"/> for a list of default supported decoder.
 /// </summary>
 /// <param name="factory">The factory.</param>
 /// <param name="containerFormatGuid">The container format GUID.</param>
 /// <unmanaged>HRESULT IWICImagingFactory::CreateDecoder([In] const GUID&amp; guidContainerFormat,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICBitmapDecoder** ppIDecoder)</unmanaged>	
 public BitmapDecoder(ImagingFactory factory, Guid containerFormatGuid)
 {
     factory.CreateDecoder(containerFormatGuid, null, this);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BitmapDecoder"/> class from a guid. <see cref="BitmapDecoderGuids"/> for a list of default supported decoder.
 /// </summary>
 /// <param name="factory">The factory.</param>
 /// <param name="containerFormatGuid">The container format GUID.</param>
 /// <unmanaged>HRESULT IWICImagingFactory::CreateDecoder([In] const GUID&amp; guidContainerFormat,[In, Optional] const GUID* pguidVendor,[Out, Fast] IWICBitmapDecoder** ppIDecoder)</unmanaged>
 public BitmapDecoder(ImagingFactory factory, Guid containerFormatGuid)
 {
     factory.CreateDecoder(containerFormatGuid, null, this);
 }