The AnnFontStretches Enumeration supports WPF/Silverlight.
The AnnFontStretches Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.
Defines the degree to which a font form is stretched from its normal aspect ratio. Supported in Silverlight, Windows Phone 7Visual Basic (Declaration) | |
---|---|
Public Enum AnnFontStretches Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnFontStretches |
C# | |
---|---|
public enum AnnFontStretches : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
public enum class AnnFontStretches : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
Condensed | usWidthClass = 3, of normal = 75 |
Expanded | usWidthClass = 7, of normal = 125 |
ExtraCondensed | usWidthClass = 2, of normal = 62.5 |
ExtraExpanded | usWidthClass = 8, of normal = 150 |
Normal | usWidthClass = 5, of normal = 100 |
SemiCondensed | usWidthClass = 4, of normal = 87.5 |
SemiExpanded | usWidthClass = 6, of normal = 112.5 |
UltraCondensed | usWidthClass = 1, of normal = 50 |
UltraExpanded | usWidthClass = 9, of normal = 200 |
A font stretch describes the degree to which a font form is stretched from its normal aspect ratio, which is the original width to height ratio specified for the glyphs in the font.
An example of Normal and Condensed font stretches for the "Rockwell Bold" typeface.
The AnnFontStretches values correspond to the "usWidthClass" definition in the OpenType specification. The usWidthClass represents an integer value between 1 and 9. Lower numeric values indicate narrower widths; higher values indicate wider widths.
System.Object
System.ValueType
System.Enum
Leadtools.Windows.Annotations.AnnFontStretches
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)