wx.Font Class Reference

Inheritance diagram for wx.Font:

wx.GDIObject wx.Object

List of all members.

Public Member Functions

object Clone ()
override void Dispose ()
 Font (Font existing_font)
 Font (int pointSize, FontFamily family, FontStyle style, FontWeight weight, bool underline, wxString faceName, FontEncoding encoding)
 Font (int pointSize, FontFamily family, FontStyle style, FontWeight weight, bool underline, string faceName, FontEncoding encoding)
 Font (int pointSize, FontFamily family, FontStyle style, FontWeight weight, bool underline, string faceName)
 Font (int pointSize, FontFamily family, FontStyle style, FontWeight weight)
 Font ()
 Font (IntPtr wxObject)
override string ToString ()

Static Public Member Functions

static Font New (wxString strNativeFontDesc)
static Font New (string strNativeFontDesc)

Static Public Attributes

static readonly Font wxITALIC_FONT = new Font(wxFont_ITALIC_FONT())
static readonly Font wxNORMAL_FONT = new Font(wxFont_NORMAL_FONT())
static readonly Font wxSMALL_FONT = new Font(wxFont_SMALL_FONT())
static readonly Font wxSWISS_FONT = new Font(wxFont_SWISS_FONT())

Properties

FontEncoding Encoding [get, set]
string FaceName [get, set]
FontFamily Family [get, set]
string FamilyString [get]
bool IsFixedWidth [get]
IntPtr NativeFontInfo [get]
string NativeFontInfoDesc [get]
string NativeFontInfoUserDesc [get]
bool Ok [get]
int PointSize [get, set]
FontStyle Style [get, set]
string StyleString [get]
static FontList TheFontList [get]
bool Underlined [get, set]
FontWeight Weight [get, set]
string WeightString [get]


Constructor & Destructor Documentation

wx.Font.Font ( IntPtr  wxObject  ) 

wx.Font.Font (  ) 

wx.Font.Font ( int  pointSize,
FontFamily  family,
FontStyle  style,
FontWeight  weight 
)

wx.Font.Font ( int  pointSize,
FontFamily  family,
FontStyle  style,
FontWeight  weight,
bool  underline,
string  faceName 
)

wx.Font.Font ( int  pointSize,
FontFamily  family,
FontStyle  style,
FontWeight  weight,
bool  underline,
string  faceName,
FontEncoding  encoding 
)

wx.Font.Font ( int  pointSize,
FontFamily  family,
FontStyle  style,
FontWeight  weight,
bool  underline,
wxString  faceName,
FontEncoding  encoding 
)

wx.Font.Font ( Font  existing_font  ) 

Copy CTor.


Member Function Documentation

object wx.Font.Clone (  ) 

override void wx.Font.Dispose (  )  [virtual]

Reimplemented from wx.Object.

static Font wx.Font.New ( wxString  strNativeFontDesc  )  [static]

static Font wx.Font.New ( string  strNativeFontDesc  )  [static]

override string wx.Font.ToString (  ) 

This shows face name and point size.


Member Data Documentation

readonly Font wx.Font.wxITALIC_FONT = new Font(wxFont_ITALIC_FONT()) [static]

readonly Font wx.Font.wxNORMAL_FONT = new Font(wxFont_NORMAL_FONT()) [static]

readonly Font wx.Font.wxSMALL_FONT = new Font(wxFont_SMALL_FONT()) [static]

readonly Font wx.Font.wxSWISS_FONT = new Font(wxFont_SWISS_FONT()) [static]


Property Documentation

FontEncoding wx.Font.Encoding [get, set]

string wx.Font.FaceName [get, set]

FontFamily wx.Font.Family [get, set]

string wx.Font.FamilyString [get]

bool wx.Font.IsFixedWidth [get]

IntPtr wx.Font.NativeFontInfo [get]

string wx.Font.NativeFontInfoDesc [get]

string wx.Font.NativeFontInfoUserDesc [get]

bool wx.Font.Ok [get]

int wx.Font.PointSize [get, set]

FontStyle wx.Font.Style [get, set]

string wx.Font.StyleString [get]

FontList wx.Font.TheFontList [static, get]

Returns wx.FontList.TheFontList.

bool wx.Font.Underlined [get, set]

FontWeight wx.Font.Weight [get, set]

string wx.Font.WeightString [get]


Manual of the wx.NET   (c) 2003-2009 the wx.NET project