CapStyle Enum

Definition

Represents values for CapStyleAttribute.

C#
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("4E33C74B-7848-4f1e-B819-A0D866C2EA1F")]
public enum CapStyle
C#
public enum CapStyle
Inheritance
CapStyle
Attributes

Fields

Name Value Description
Other -1

Indicates that the capitalization style is a style not explicitly specified in the CapStyle enumeration.

None 0

Indicates that there is no capitalization style; uppercase and lowercase letters render normally.

SmallCap 1

Indicates that the capitalization style is small caps; lowercase letters are replaced with uppercase letters of the same approximate height as the font's x-height.

AllCap 2

Indicates that the capitalization style is all caps; all lowercase letters are replaced with uppercase letters.

AllPetiteCaps 3

Indicates that the capitalization style is all petite caps; uppercase and lowercase letters are replaced with uppercase letters slightly smaller than small caps.

PetiteCaps 4

Indicates that the capitalization style is petite caps; lowercase letters are replaced with uppercase letters slightly smaller than small caps.

Unicase 5

Indicates that the capitalization style is unicase; uppercase and lowercase letters are rendered in a way determined by the type designer. A unicase alphabet is one that does not specify case for its letters.

Titling 6

Indicates that the capitalization style is title case; uppercase and lowercase letters are rendered with letters specifically designed for titles.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10