FontFamily::FontFamily(constWCHAR*,constFontCollection*) 메서드(gdiplusheaders.h)

지정된 글꼴 패밀리를 기반으로 FontFamily::FontFamily 개체를 만듭니다.

구문

void FontFamily(
  [in] const WCHAR          *name,
  [in] const FontCollection *fontCollection
);

매개 변수

[in] name

형식: const WCHAR*

글꼴 패밀리의 이름입니다. 예를 들어 Arial.ttf는 Arial 글꼴 패밀리의 이름입니다.

[in] fontCollection

형식: const FontCollection*

(선택 사항) 글꼴 패밀리가 속한 컬렉션을 지정하는 FontCollection 개체에 대한 포인터입니다. FontCollectionNULL인 경우 이 글꼴 패밀리는 컬렉션의 일부가 아닙니다. 기본값은 NULL입니다.

반환 값

없음

요구 사항

   
지원되는 최소 클라이언트 Windows XP, Windows 2000 Professional [데스크톱 앱만 해당]
지원되는 최소 서버 Windows 2000 Server[데스크톱 앱만]
대상 플랫폼 Windows
헤더 gdiplusheaders.h(Gdiplus.h 포함)
라이브러리 Gdiplus.lib
DLL Gdiplus.dll

참고 항목

FontFamily

InstalledFontCollection

PrivateFontCollection

텍스트 및 글꼴 사용