IDWriteFontCollection2::GetFontSet method (dwrite_3.h)

Retrieves the underlying font set used by this collection.

Syntax

HRESULT GetFontSet(
  IDWriteFontSet1 **fontSet
);

Parameters

fontSet

Type: IDWriteFontSet1**

The address of a pointer to an IDWriteFontSet1 interface. On successful completion, the function sets the pointer to the font set used by the collection.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Target Platform Windows
Header dwrite_3.h
Library Dwrite.lib