---
UID: NN:dwrite_1.IDWriteTextLayout1
title: IDWriteTextLayout1 (dwrite_1.h)
description: Represents a block of text after it has been fully analyzed and formatted.
old-location: directwrite\idwritetextlayout1.htm
tech.root: DirectWrite
ms.assetid: FF6B3C78-0CC0-4843-9D17-3CF0777EA8BA
ms.date: 12/05/2018
ms.keywords: IDWriteTextLayout1, IDWriteTextLayout1 interface [Direct Write], IDWriteTextLayout1 interface [Direct Write],described, directwrite.idwritetextlayout1, dwrite_1/IDWriteTextLayout1
f1_keywords:
- dwrite_1/IDWriteTextLayout1
dev_langs:
- c++
req.header: dwrite_1.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 8 and Platform Update for Windows 7 [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps \| UWP apps]
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: Dwrite.lib
req.dll: Dwrite.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- dwrite.dll
api_name:
- IDWriteTextLayout1
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IDWriteTextLayout1 interface


## -description


Represents a block of text after it has been fully analyzed and formatted.


## -inheritance

The <b xmlns:loc="http://microsoft.com/wdcml/l10n">IDWriteTextLayout1</b> interface inherits from <a href="/windows/win32/api/dwrite/nn-dwrite-idwritetextlayout">IDWriteTextLayout</a>. <b>IDWriteTextLayout1</b> also has these types of members:
<ul>
<li><a href="https://docs.microsoft.com/">Methods</a></li>
</ul>

## -members

The <b>IDWriteTextLayout1</b> interface has these methods.
<table class="members" id="memberListMethods">
<tr>
<th align="left" width="37%">Method</th>
<th align="left" width="63%">Description</th>
</tr>
<tr data="declared;">
<td align="left" width="37%">
<a href="/windows/win32/api/dwrite_1/nf-dwrite_1-idwritetextlayout1-getcharacterspacing">GetCharacterSpacing</a>
</td>
<td align="left" width="63%">
Gets the spacing between characters.

</td>
</tr>
<tr data="declared;">
<td align="left" width="37%">
<a href="/windows/win32/api/dwrite_1/nf-dwrite_1-idwritetextlayout1-getpairkerning">GetPairKerning</a>
</td>
<td align="left" width="63%">
Gets whether or not pair-kerning is enabled at given position.

</td>
</tr>
<tr data="declared;">
<td align="left" width="37%">
<a href="/windows/win32/api/dwrite_1/nf-dwrite_1-idwritetextlayout1-setcharacterspacing">SetCharacterSpacing</a>
</td>
<td align="left" width="63%">
Sets the spacing between characters.

</td>
</tr>
<tr data="declared;">
<td align="left" width="37%">
<a href="/windows/win32/api/dwrite_1/nf-dwrite_1-idwritetextlayout1-setpairkerning">SetPairKerning</a>
</td>
<td align="left" width="63%">
Enables or disables pair-kerning on a given text range.

</td>
</tr>
</table> 


## -see-also




<a href="/windows/win32/api/dwrite/nn-dwrite-idwritetextlayout">IDWriteTextLayout</a>
 

 

