C# Class PurplePen.FontDesc

Mostra file Open project: petergolde/PurplePen Class Usage Examples

Public Properties

Property Type Description
Bold bool
EmHeight float
Name string

Public Methods

Method Description
FontDesc ( string name, bool bold, bool italic, float emHeight ) : System
FontDesc ( string name, bool bold, bool italic, float emHeight, float emHeightNoArialNarrow ) : System
GetFont ( ) : Font
GetScaledFont ( float scaleRatio ) : Font

Method Details

FontDesc() public method

public FontDesc ( string name, bool bold, bool italic, float emHeight ) : System
name string
bold bool
italic bool
emHeight float
return System

FontDesc() public method

public FontDesc ( string name, bool bold, bool italic, float emHeight, float emHeightNoArialNarrow ) : System
name string
bold bool
italic bool
emHeight float
emHeightNoArialNarrow float
return System

GetFont() public method

public GetFont ( ) : Font
return System.Drawing.Font

GetScaledFont() public method

public GetScaledFont ( float scaleRatio ) : Font
scaleRatio float
return System.Drawing.Font

Property Details

Bold public_oe property

public bool Bold
return bool

EmHeight public_oe property

public float EmHeight
return float

Name public_oe property

public string Name
return string