---
UID: NF:dwrite_3.IDWriteRemoteFontFileStream.GetLocality
title: IDWriteRemoteFontFileStream::GetLocality (dwrite_3.h)
description: Gets the current locality of the file.
old-location: directwrite\idwriteremotefontfilestream_getlocality.htm
tech.root: DirectWrite
ms.assetid: 395AC591-3D63-4990-98A7-FA154B6A000F
ms.date: 12/05/2018
ms.keywords: GetLocality, GetLocality method [Direct Write], GetLocality method [Direct Write],IDWriteRemoteFontFileStream interface, IDWriteRemoteFontFileStream interface [Direct Write],GetLocality method, IDWriteRemoteFontFileStream.GetLocality, IDWriteRemoteFontFileStream::GetLocality, directwrite.idwriteremotefontfilestream_getlocality, dwrite_3/IDWriteRemoteFontFileStream::GetLocality
f1_keywords:
- dwrite_3/IDWriteRemoteFontFileStream.GetLocality
dev_langs:
- c++
req.header: dwrite_3.h
req.include-header: 
req.target-type: Windows
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: Dwrite.lib
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- Dwrite.lib
- Dwrite.dll
api_name:
- IDWriteRemoteFontFileStream.GetLocality
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IDWriteRemoteFontFileStream::GetLocality


## -description


Gets the current locality of the file.


## -parameters






## -returns



Type: <b><a href="/windows/win32/api/dwrite_3/ne-dwrite_3-dwrite_locality">DWRITE_LOCALITY</a></b>

Returns the current locality (i.e., remote, partial, or local).




## -see-also




<a href="/windows/win32/api/dwrite_3/nn-dwrite_3-idwriteremotefontfilestream">IDWriteRemoteFontFileStream</a>
 

 

