แก้ไข

แชร์ผ่าน


CapStyle Enum

Definition

Represents values for CapStyleAttribute.

public enum class CapStyle
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("4E33C74B-7848-4f1e-B819-A0D866C2EA1F")]
public enum CapStyle
public enum CapStyle
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("4E33C74B-7848-4f1e-B819-A0D866C2EA1F")>]
type CapStyle = 
type CapStyle = 
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