Share via


ITextPara2::SetFontAlignment 메서드(tom.h)

중국어, 일본어, 한국어 텍스트의 단락 글꼴 맞춤을 설정합니다.

구문

HRESULT SetFontAlignment(
  [in] long Value
);

매개 변수

[in] Value

형식: long

단락 글꼴 맞춤입니다. 다음 값 중 하나일 수 있습니다.

글꼴 맞춤 상태
tomFontAlignmentAuto (기본값)
tomFontAlignmentTop
tomFontAlignmentBaseline
tomFontAlignmentBottom
tomFontAlignmentCenter

반환 값

형식: HRESULT

메서드가 성공하면 NOERROR를 반환합니다. 성공하지 않으면 HRESULT 오류 코드를 반환합니다.

요구 사항

   
지원되는 최소 클라이언트 Windows 8 [데스크톱 앱만 해당]
지원되는 최소 서버 Windows Server 2012 [데스크톱 앱만 해당]
대상 플랫폼 Windows
헤더 tom.h
DLL Msftedit.dll

추가 정보

ITextPara2

ITextPara2::GetFontAlignment