設定中文、日文、韓文文字的段落字型對齊方式。
語法
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 |