LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
AnnFontStretches Enumeration
See Also  
Leadtools.Windows.Annotations Namespace : AnnFontStretches Enumeration



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 7

Syntax

Visual Basic (Declaration) 
Public Enum AnnFontStretches 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As AnnFontStretches
C# 
public enum AnnFontStretches : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class AnnFontStretches : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
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

Remarks

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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Windows.Annotations.AnnFontStretches

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

AnnFontStretches requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.