IDWriteTextLayout1::GetPairKerning-Methode (dwrite_1.h)

Ruft ab, ob das Pair-Kerning an einer bestimmten Position aktiviert ist.

Syntax

HRESULT GetPairKerning(
                  UINT32            currentPosition,
  [out]           BOOL              *isPairKerningEnabled,
  [out, optional] DWRITE_TEXT_RANGE *textRange
);

Parameter

currentPosition

Typ: UINT32

Die aktuelle Textposition.

[out] isPairKerningEnabled

Typ: BOOL*

Das Flag, das angibt, ob Text paargespannt ist.

[out, optional] textRange

Typ: DWRITE_TEXT_RANGE*

Der Positionsbereich des aktuellen Formats.

Rückgabewert

Typ: HRESULT

Wenn diese Methode erfolgreich ist, wird S_OK zurückgegeben. Andernfalls wird ein Fehlercode HRESULT zurückgegeben.

Anforderungen

   
Unterstützte Mindestversion (Client) Windows 8 und Plattformupdate für Windows 7 [Desktop-Apps | UWP-Apps]
Unterstützte Mindestversion (Server) Windows Server 2012 und Plattformupdate für Windows Server 2008 R2 [Desktop-Apps | UWP-Apps]
Zielplattform Windows
Kopfzeile dwrite_1.h
Bibliothek Dwrite.lib
DLL Dwrite.dll

Weitere Informationen

IDWriteTextLayout1