共用方式為


IDWriteGdiInterop1::CreateFontFromLOGFONT 方法 (dwrite_3.h)

語法

HRESULT CreateFontFromLOGFONT(
  LOGFONTW const        *logFont,
  IDWriteFontCollection *fontCollection,
  IDWriteFont           **font
);

參數

logFont

fontCollection

font

需求

要求 價值
最低支援的用戶端 Windows 10 版本 1809(Windows App SDK 0.5 或更新版本)
標題 dwrite_3.h