Skip to content

Latest commit

 

History

History
97 lines (79 loc) · 2.81 KB

nf-tom-itextpara2-setfontalignment.md

File metadata and controls

97 lines (79 loc) · 2.81 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tom.ITextPara2.SetFontAlignment
ITextPara2::SetFontAlignment (tom.h)
Sets the paragraph font alignment for Chinese, Japanese, Korean text.
ITextPara2 interface [Windows Controls]
SetFontAlignment method
ITextPara2.SetFontAlignment
ITextPara2::SetFontAlignment
SetFontAlignment
SetFontAlignment method [Windows Controls]
SetFontAlignment method [Windows Controls]
ITextPara2 interface
controls.itextpara2_setfontalignment
tom/ITextPara2::SetFontAlignment
controls\itextpara2_setfontalignment.htm
Controls
2ed1f7f2-9523-4dda-bac0-c1eb3d217102
12/05/2018
ITextPara2 interface [Windows Controls],SetFontAlignment method, ITextPara2.SetFontAlignment, ITextPara2::SetFontAlignment, SetFontAlignment, SetFontAlignment method [Windows Controls], SetFontAlignment method [Windows Controls],ITextPara2 interface, controls.itextpara2_setfontalignment, tom/ITextPara2::SetFontAlignment
tom.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextPara2::SetFontAlignment
tom/ITextPara2::SetFontAlignment
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextPara2.SetFontAlignment

ITextPara2::SetFontAlignment

-description

Sets the paragraph font alignment for Chinese, Japanese, Korean text.

-parameters

-param Value [in]

Type: long

The paragraph font alignment. It can be one of the following values.

Font Alignment States
tomFontAlignmentAuto (default)
tomFontAlignmentTop
tomFontAlignmentBaseline
tomFontAlignmentBottom
tomFontAlignmentCenter

-returns

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

-see-also

ITextPara2

ITextPara2::GetFontAlignment