[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DirectWrite.FontFileLoaderNative

Class FontFileLoaderNative

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

IDWriteFontFileLoader

[Guid("727cad4e-d6af-4c9e-8a08-d695b11caa49")]
public class FontFileLoaderNative : ComObjectCallback, IUnknown, IFontFileLoader, ICallbackable, IDisposable
Inheritance
object
FontFileLoaderNative
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

FontFileLoaderNative(IntPtr)

Initializes a new instance of the FontFileLoaderNative class.

public FontFileLoaderNative(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

CreateStreamFromKey(DataPointer)

Creates a font file stream object that encapsulates an open file resource.

public IFontFileStream CreateStreamFromKey(DataPointer fontFileReferenceKey)

Parameters

fontFileReferenceKey DataPointer

A reference to a font file reference key that uniquely identifies the font file resource within the scope of the font loader being used. The buffer allocated for this key must at least be the size, in bytes, specified by fontFileReferenceKeySize.

Returns

IFontFileStream

a reference to the newly created IFontFileStream object.

Remarks

The resource is closed when the last reference to fontFileStream is released.

Operators

explicit operator FontFileLoaderNative(IntPtr)

Performs an explicit conversion from System.IntPtr to FontFileLoaderNative.

public static explicit operator FontFileLoaderNative(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

FontFileLoaderNative