Skip to content

Latest commit

 

History

History
68 lines (56 loc) · 2.28 KB

ne-dwrite_3-dwrite_locality.md

File metadata and controls

68 lines (56 loc) · 2.28 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type 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 req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:dwrite_3.DWRITE_LOCALITY
DWRITE_LOCALITY (dwrite_3.h)
Specifies the location of a resource.
DWRITE_LOCALITY
DWRITE_LOCALITY enumeration [Direct Write]
DWRITE_LOCALITY_LOCAL
DWRITE_LOCALITY_PARTIAL
DWRITE_LOCALITY_REMOTE
directwrite.dwrite_locality
dwrite_3/DWRITE_LOCALITY
dwrite_3/DWRITE_LOCALITY_LOCAL
dwrite_3/DWRITE_LOCALITY_PARTIAL
dwrite_3/DWRITE_LOCALITY_REMOTE
directwrite\dwrite_locality.htm
DirectWrite
DEBFE4E0-C995-4468-9702-44EA37F1BCFF
12/05/2018
DWRITE_LOCALITY, DWRITE_LOCALITY enumeration [Direct Write], DWRITE_LOCALITY_LOCAL, DWRITE_LOCALITY_PARTIAL, DWRITE_LOCALITY_REMOTE, directwrite.dwrite_locality, dwrite_3/DWRITE_LOCALITY, dwrite_3/DWRITE_LOCALITY_LOCAL, dwrite_3/DWRITE_LOCALITY_PARTIAL, dwrite_3/DWRITE_LOCALITY_REMOTE
dwrite_3.h
Windows
Windows 10 [desktop apps only]
Windows Server 2016 [desktop apps only]
Windows
19H1
DWRITE_LOCALITY
dwrite_3/DWRITE_LOCALITY
c++
APIRef
kbSyntax
HeaderDef
dwrite_3.h
DWRITE_LOCALITY

DWRITE_LOCALITY enumeration

-description

Specifies the location of a resource.

-enum-fields

-field DWRITE_LOCALITY_REMOTE

The resource is remote, and information about it is unknown, including the file size and date. If you attempt to create a font or file stream, the creation will fail until locality becomes at least partial.

-field DWRITE_LOCALITY_PARTIAL

The resource is partially local, which means you can query the size and date of the file stream. With this type, you also might be able to create a font face and retrieve the particular glyphs for metrics and drawing, but not all the glyphs will be present.

-field DWRITE_LOCALITY_LOCAL

The resource is completely local, and all font functions can be called without concern of missing data or errors related to network connectivity.