获取段落字体对齐状态。
语法
HRESULT GetFontAlignment(
[out, retval] long *pValue
);
参数
[out, retval] pValue
类型: long*
段落字体对齐状态。 可以是下列值之一。
| 字体对齐状态 |
|---|
| tomFontAlignmentAuto (默认) |
| tomFontAlignmentTop |
| tomFontAlignmentBaseline |
| tomFontAlignmentBottom |
| tomFontAlignmentCenter |
返回值
类型: HRESULT
如果方法成功,则返回 NOERROR。 否则,将返回 HRESULT 错误代码。
要求
| 最低受支持的客户端 | Windows 8 [仅限桌面应用] |
| 最低受支持的服务器 | Windows Server 2012 [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | tom.h |
| DLL | Msftedit.dll |