设置中文、日语、朝鲜语文本的段落字体对齐方式。
语法
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 |