IDWriteFactory5::CreateInMemoryFontFileLoader method (dwrite_3.h)

Creates a loader object that can be used to create font file references to in-memory fonts. The caller is responsible for registering and unregistering the loader.

Syntax

HRESULT CreateInMemoryFontFileLoader(
  [out] IDWriteInMemoryFontFileLoader **newLoader
);

Parameters

[out] newLoader

Type: IDWriteInMemoryFontFileLoader**

Receives a pointer to the newly-created loader object.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

   
Target Platform Windows
Header dwrite_3.h
Library Dwrite.lib

See also

Creating a custom font set using font data loaded into memory

IDWriteFactory5