←Select platform

AnnFontStretch Enumeration

Summary

Defines the degree to which a font form is stretched from its normal aspect ratio.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public enum AnnFontStretch  
Public Enum AnnFontStretch  
    
public enum AnnFontStretch  
typedef enum LTAnnFontStretch 
public enum AnnFontStretch 
Leadtools.Annotations.Core.AnnFontStretch = function() { }; 
Leadtools.Annotations.Core.AnnFontStretch.prototype = { 
 
  Normal = 0x00000000, 
    UltraCondensed = 0x00000001, 
    ExtraCondensed = 0x00000002, 
    Condensed = 0x00000003, 
    SemiCondensed = 0x00000004, 
    SemiExpanded = 0x00000005, 
    Expanded = 0x00000006, 
    ExtraExpanded = 0x00000007, 
    UltraExpanded = 0x00000008, 
     
 }; 
public: 
   enum class AnnFontStretch sealed 

Members

ValueMemberDescription
0Normal Specifies a normal font stretch.
1UltraCondensed Specifies an ultra-condensed font stretch.
2ExtraCondensed Specifies an extra-condensed font stretch.
3Condensed Specifies a condensed font stretch.
4SemiCondensed Specifies a semi-condensed font stretch.
5SemiExpanded Specifies a semi-expanded font stretch.
6Expanded Specifies an expanded font stretch.
7ExtraExpanded Specifies an extra-expanded font stretch.
8UltraExpanded Specifies an ultra-expanded font stretch.
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.

The AnnFontStretch 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.

FontStretch usWidthClass percent of normal
UltraCondensed 1 50 percent
ExtraCondensed 2 62.5 percent
Condensed 3 75 percent
SemiCondensed 4 87.5 percent
Normal 5 100 percent
SemiExpanded 6 112.5 percent
Expanded 7 125 percent
ExtraExpanded 8 150 percent
UltraExpanded 9 200 percent
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly