Table of Contents

Enum Locality

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll

Specifies the location of a resource.

public enum Locality

Fields

Local = 2

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

Partial = 1

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.

Remote = 0

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.