[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.WIC.BitmapDecoderInfo

Class BitmapDecoderInfo

Namespace
GrapeCity.Documents.DX.WIC
Assembly
GcDocs.DX.Windows.dll

IWICBitmapDecoderInfo

[Guid("D8CD007F-D08F-4191-9BFC-236EA7F0E4B5")]
public class BitmapDecoderInfo : BitmapCodecInfo, IDisposable, IUnknown
Inheritance
object
BitmapDecoderInfo
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

BitmapDecoderInfo(IntPtr)

Initializes a new instance of the BitmapDecoderInfo class.

public BitmapDecoderInfo(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Patterns

Gets the file pattern signatures supported by the decoder.

public BitmapPattern[] Patterns { get; }

Property Value

BitmapPattern[]

Methods

CreateInstance()

HRESULT IWICBitmapDecoderInfo::CreateInstance([Out, Fast] IWICBitmapDecoder** ppIBitmapDecoder)

public BitmapDecoder CreateInstance()

Returns

BitmapDecoder

GetPatterns(int, BitmapPattern[], out int, out int)

HRESULT IWICBitmapDecoderInfo::GetPatterns([In] unsigned int cbSizePatterns,[Out, Buffer, Optional] WICBitmapPattern* pPatterns,[Out] unsigned int* pcPatterns,[Out] unsigned int* pcbPatternsActual)

public void GetPatterns(int sizePatterns, BitmapPattern[] patternsRef, out int atternCountRef, out int patternsActualRef)

Parameters

sizePatterns int
patternsRef BitmapPattern[]
atternCountRef int
patternsActualRef int

MatchesPattern(IStream)

Retrieves a value that indicates whether the codec recognizes the pattern within a specified stream.

public bool MatchesPattern(IStream stream)

Parameters

stream IStream

The stream to pattern match within.

Returns

bool

true if the patterns match; otherwise, false.

Operators

explicit operator BitmapDecoderInfo(IntPtr)

Performs an explicit conversion from System.IntPtr to BitmapDecoderInfo.

public static explicit operator BitmapDecoderInfo(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

BitmapDecoderInfo