FontFamily::GetEmHeight 메서드(gdiplusheaders.h)

FontFamily::GetEmHeight 메서드는 이 글꼴 패밀리의 디자인 단위에서 크기(일반적으로 em 크기 또는 em 높이라고 함)를 가져옵니다.

구문

UINT16 GetEmHeight(
  [in] INT style
);

매개 변수

[in] style

형식: INT

서체의 스타일을 지정하는 정수입니다. 이 값은 FontStyle 열거형의 요소이거나 두 개 이상의 요소에 적용되는 비트 OR 의 결과여야 합니다. 예를 들어 는 FontStyleBold | FontStyleUnderline | FontStyleStrikeout 세 가지 스타일의 조합을 지정합니다.

반환 값

형식: UINT16

이 메서드는 이 글꼴 패밀리의 크기를 디자인 단위로 반환합니다.

요구 사항

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

참고 항목

FontFamily

FontFamily::GetCellDescent

FontFamily::GetEmHeight

FontFamily::GetLineSpacing

FontStyle

글꼴 메트릭 가져오기