[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.WIC.WicStream

Class WicStream

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

IWICStream

[Guid("135FF860-22B7-4ddf-B0F6-218F4F299A43")]
public class WicStream : ComStream, IUnknown, IStream, IStreamBase, ICallbackable, IDisposable
Inheritance
object
WicStream
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

WicStream(IntPtr)

Initializes a new instance of the WicStream class.

public WicStream(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(ImagingFactory, DataPointer)

Initializes a new instance of the WicStream class from an unmanaged memory through a DataStream.

public static WicStream Create(ImagingFactory factory, DataPointer dataStream)

Parameters

factory ImagingFactory

The factory.

dataStream DataPointer

The unmanaged memory stream.

Returns

WicStream

Create(ImagingFactory, Stream)

Initializes a new instance of the WicStream class from a IStream.

public static WicStream Create(ImagingFactory factory, Stream stream)

Parameters

factory ImagingFactory

The factory.

stream System.IO.Stream

The stream.

Returns

WicStream

Create(ImagingFactory, string, NativeFileAccess)

Initializes a new instance of the WicStream class from a file.

public static WicStream Create(ImagingFactory factory, string fileName, NativeFileAccess fileAccess)

Parameters

factory ImagingFactory

The factory.

fileName string

Name of the file.

fileAccess NativeFileAccess

The file access.

Returns

WicStream

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

InitializeFromFilename(string, int)

HRESULT IWICStream::InitializeFromFilename([In] const wchar_t* wzFileName,[In] unsigned int dwDesiredAccess)

public void InitializeFromFilename(string fileName, int desiredAccess)

Parameters

fileName string
desiredAccess int

InitializeFromMemory(IntPtr, int)

HRESULT IWICStream::InitializeFromMemory([In] void* pbBuffer,[In] unsigned int cbBufferSize)

public void InitializeFromMemory(IntPtr bufferRef, int bufferSize)

Parameters

bufferRef System.IntPtr
bufferSize int

Operators

explicit operator WicStream(IntPtr)

Performs an explicit conversion from System.IntPtr to WicStream.

public static explicit operator WicStream(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

WicStream