Click or drag to resize
CanvasFontPropertyIdentifier Enumeration
Indentifies a property of the font.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public enum CanvasFontPropertyIdentifier
Members
  Member nameValueDescription
None0An unspecified font property identifier.
FamilyName1The name of the font family.
PreferredFamilyName2Family name preferred by the designer. This enables font designers to group more than four fonts in a single family without losing compatibility with GDI.
FaceName3Face name of the font, for example Regular or Bold.
FullName4The full name of the font, for example "Arial Bold", from name id 4 in the name table.
Win32FamilyName5GDI-compatible family name. Because GDI allows a maximum of four fonts per family, fonts in the same family may have different GDI-compatible family names, for example "Arial", "Arial Narrow", "Arial Black".
PostscriptName6The postscript name of the font, for example "GillSans-Bold", from name id 6 in the name table.
DesignScriptLanguageTag7 Script/language tag to identify the scripts or languages that the font was primarily designed to support.
SupportedScriptLanguageTag8Script/language tag to identify the scripts or languages that the font declares it is able to support.
SemanticTag9Semantic tag to describe the font, for example Fancy, Decorative, Handmade, Sans-serif, Swiss, Pixel, Futuristic.
Weight10Weight of the font represented as a decimal string in the range 1-999.
Stretch11Stretch of the font represented as a decimal string in the range 1-9.
Style12Style of the font represented as a decimal string in the range 0-2.
Total13The total number of properties.
Remarks
In a font set's assortment of properties, a PreferredFamilyName property is typically only present if it differs from the GDI-compatible family name.
See Also