public enum AnnFontStretch
typedef NS_ENUM(NSInteger, LTAnnFontStretch) {
LTAnnFontStretchNormal = 0,
LTAnnFontStretchUltraCondensed = 1,
LTAnnFontStretchExtraCondensed = 2,
LTAnnFontStretchCondensed = 3,
LTAnnFontStretchSemiCondensed = 4,
LTAnnFontStretchSemiExpanded = 5,
LTAnnFontStretchExpanded = 6,
LTAnnFontStretchExtraExpanded = 7,
LTAnnFontStretchUltraExpanded = 8,
};
public enum AnnFontStretch
public:
enum class AnnFontStretch sealed
class AnnFontStretch(Enum):
Normal = 0
UltraCondensed = 1
ExtraCondensed = 2
Condensed = 3
SemiCondensed = 4
SemiExpanded = 5
Expanded = 6
ExtraExpanded = 7
UltraExpanded = 8
Value | Member | Description |
---|---|---|
0 | Normal | Specifies a normal font stretch. |
1 | UltraCondensed | Specifies an ultra-condensed font stretch. |
2 | ExtraCondensed | Specifies an extra-condensed font stretch. |
3 | Condensed | Specifies a condensed font stretch. |
4 | SemiCondensed | Specifies a semi-condensed font stretch. |
5 | SemiExpanded | Specifies a semi-expanded font stretch. |
6 | Expanded | Specifies an expanded font stretch. |
7 | ExtraExpanded | Specifies an extra-expanded font stretch. |
8 | UltraExpanded | Specifies an ultra-expanded font stretch. |
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 |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document