MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
CustomFont Class
NamespacesMPfm.WindowsControlsCustomFont
This object represents a custom font (standard or embedded font).
Declaration Syntax
C#Visual Basic
public class CustomFont
Public Class CustomFont
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CustomFont()()()()
Default constructor for CustomFont.

CustomFont(String, Single, Color)
Constructor for the CustomFont class. Requires the embedded font name and font size. Will automatically set UseEmbeddedFont to true.

Color
Defines the font color.

ColorInt
Gets/sets the font color using a 32-bit integer (ARGB). This is used for serializing the Color structure in XML.

EmbeddedFontName
Defines the embedded font name.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsBold
Defines if the font uses bold.

IsItalic
Defines if the font uses italic.

IsUnderline
Defines if the font uses underline.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Size
Defines the font size (in points).

StandardFontName
Defines the standard font face name.

ToFontStyle()()()()
Returns a FontStyle structure with the IsBold, IsItalic and IsUnderline property values.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UseAntiAliasing
Defines if the font should use anti-aliasing.

UseEmbeddedFont
Defines if the font should use the embedded font.

Inheritance Hierarchy
Object
CustomFont

Assembly: MPfm.WindowsControls (Module: MPfm.WindowsControls) Version: 0.5.3.0 (0.5.3.0)