Skip to content

Latest commit

 

History

History
121 lines (91 loc) · 3.18 KB

nf-tom-itextfont-getkerning.md

File metadata and controls

121 lines (91 loc) · 3.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.ITextFont.GetKerning
ITextFont::GetKerning (tom.h)
Gets the minimum font size at which kerning occurs.
GetKerning
GetKerning method [Windows Controls]
GetKerning method [Windows Controls]
ITextFont interface
ITextFont interface [Windows Controls]
GetKerning method
ITextFont.GetKerning
ITextFont::GetKerning
_win32_ITextFont_GetKerning
_win32_ITextFont_GetKerning_cpp
controls.ITextFont_GetKerning
controls._win32_ITextFont_GetKerning
tom/ITextFont::GetKerning
controls\ITextFont_GetKerning.htm
Controls
VS|Controls|~\controls\richedit\textobjectmodel\textobjectmodelreference\textobjectmodelinterfaces\getkerning.htm
12/05/2018
GetKerning, GetKerning method [Windows Controls], GetKerning method [Windows Controls],ITextFont interface, ITextFont interface [Windows Controls],GetKerning method, ITextFont.GetKerning, ITextFont::GetKerning, _win32_ITextFont_GetKerning, _win32_ITextFont_GetKerning_cpp, controls.ITextFont_GetKerning, controls._win32_ITextFont_GetKerning, tom/ITextFont::GetKerning
tom.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextFont::GetKerning
tom/ITextFont::GetKerning
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextFont.GetKerning

ITextFont::GetKerning

-description

Gets the minimum font size at which kerning occurs.

-parameters

-param pValue

Type: float*

The minimum font size at which kerning occurs, in floating-point points.

-returns

Type: HRESULT

If the method succeeds, it returns S_OK. If the method fails, it returns one of the following COM error codes. For more information about COM error codes, see Error Handling in COM.

Return code Description
E_INVALIDARG
Invalid argument.
CO_E_RELEASED
The font object is attached to a range that has been deleted.

-remarks

If the value pointed to by pValue is zero, kerning is off. Positive values turn on pair kerning for font point sizes greater than or equal to the kerning value. For example, the value 1 turns on kerning for all legible sizes, whereas 16 turns on kerning only for font sizes of 16 points and larger.

-see-also

Conceptual

ITextFont

Reference

SetKerning

Text Object Model