---
UID: NF:dwrite.IDWriteTextFormat.GetFontFamilyNameLength
title: IDWriteTextFormat::GetFontFamilyNameLength (dwrite.h)
description: Gets the length of the font family name.
old-location: directwrite\IDWriteTextFormat_GetFontFamilyNameLength.htm
tech.root: DirectWrite
ms.assetid: 4bf57fc7-ba5e-44dd-8dd1-47e759842a57
ms.date: 12/05/2018
ms.keywords: GetFontFamilyNameLength, GetFontFamilyNameLength method [Direct Write], GetFontFamilyNameLength method [Direct Write],IDWriteTextFormat interface, IDWriteTextFormat interface [Direct Write],GetFontFamilyNameLength method, IDWriteTextFormat.GetFontFamilyNameLength, IDWriteTextFormat::GetFontFamilyNameLength, directwrite.IDWriteTextFormat_GetFontFamilyNameLength, dwrite/IDWriteTextFormat::GetFontFamilyNameLength
f1_keywords:
- dwrite/IDWriteTextFormat.GetFontFamilyNameLength
dev_langs:
- c++
req.header: dwrite.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [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:
- IDWriteTextFormat.GetFontFamilyNameLength
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IDWriteTextFormat::GetFontFamilyNameLength


## -description


 Gets the length of the font family name.


## -parameters






## -returns



Type: <b>UINT32</b>

The size of the character array, in character count, not including the terminated <b>NULL</b> character.




## -see-also




<a href="/windows/win32/api/dwrite/nn-dwrite-idwritetextformat">IDWriteTextFormat</a>
 

 

