---
UID: NF:dwrite_3.IDWriteTextLayout3.GetLineSpacing
title: IDWriteTextLayout3::GetLineSpacing (dwrite_3.h)
description: Gets line spacing information.
old-location: directwrite\idwritetextlayout3_getlinespacing.htm
tech.root: DirectWrite
ms.assetid: 6b93a3ec-c8ea-2e64-45b5-51565d6de173
ms.date: 12/05/2018
ms.keywords: GetLineSpacing, GetLineSpacing method [Direct Write], GetLineSpacing method [Direct Write],IDWriteTextLayout3 interface, IDWriteTextLayout3 interface [Direct Write],GetLineSpacing method, IDWriteTextLayout3.GetLineSpacing, IDWriteTextLayout3::GetLineSpacing, directwrite.idwritetextlayout3_getlinespacing, dwrite_3/IDWriteTextLayout3::GetLineSpacing
f1_keywords:
- dwrite_3/IDWriteTextLayout3.GetLineSpacing
dev_langs:
- c++
req.header: dwrite_3.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 8.1 [desktop apps only]
req.target-min-winversvr: Windows Server 2012 R2 [desktop apps only]
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:
- IDWriteTextLayout3.GetLineSpacing
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IDWriteTextLayout3::GetLineSpacing


## -description


Gets line spacing information.


## -parameters




### -param lineSpacingOptions [out]

How to manage space between lines.


## -returns



If this method succeeds, it returns <b xmlns:loc="http://microsoft.com/wdcml/l10n">S_OK</b>. Otherwise, it returns an <b xmlns:loc="http://microsoft.com/wdcml/l10n">HRESULT</b> error code.




## -see-also




<a href="/windows/win32/DirectWrite/idwritetextlayout3">IDWriteTextLayout3</a>
 

 

