Skip to content

Latest commit

 

History

History
75 lines (59 loc) · 2.18 KB

nf-tom-itextrange2-getfont2.md

File metadata and controls

75 lines (59 loc) · 2.18 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.ITextRange2.GetFont2
ITextRange2::GetFont2 (tom.h)
Gets an ITextFont2 object with the character attributes of the current range.
GetFont2
GetFont2 method [Windows Controls]
GetFont2 method [Windows Controls]
ITextRange2 interface
ITextRange2 interface [Windows Controls]
GetFont2 method
ITextRange2.GetFont2
ITextRange2::GetFont2
controls.itextrange2_getfont2
tom/ITextRange2::GetFont2
controls\itextrange2_getfont2.htm
Controls
24ef7fb3-4cf4-46ed-9273-6f91c77f7641
12/05/2018
GetFont2, GetFont2 method [Windows Controls], GetFont2 method [Windows Controls],ITextRange2 interface, ITextRange2 interface [Windows Controls],GetFont2 method, ITextRange2.GetFont2, ITextRange2::GetFont2, controls.itextrange2_getfont2, tom/ITextRange2::GetFont2
tom.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextRange2::GetFont2
tom/ITextRange2::GetFont2
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextRange2.GetFont2

ITextRange2::GetFont2

-description

Gets an ITextFont2 object with the character attributes of the current range.

-parameters

-param ppFont [out, retval]

Type: ITextFont2**

The ITextFont2 object.

-returns

Type: HRESULT

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

-see-also

ITextRange2

ITextRange2::SetFont2