Struct FontProperty
- Namespace
- SharpDX.DirectWrite
- Assembly
- SharpDX.Direct2D1.dll
Font property used for filtering font sets and building a font set with explicit properties.
public struct FontProperty
- Inherited Members
Fields
LocaleName
Specifies the locale to use, such as "en-US". Simply leave this empty when used with the font set filtering functions, as they will find a match regardless of language. For passing to AddFontFaceReference, the localeName specifies the language of the property value.
public string LocaleName
Field Value
PropertyId
Specifies the requested font property, such as DWRITE_FONT_PROPERTY_ID_FAMILY_NAME.
public FontPropertyId PropertyId
Field Value
PropertyValue
Specifies the value, such as "Segoe UI".
public string PropertyValue