wx.Font Class Reference

Inheritance diagram for wx.Font:

wx.GDIObject wx.ICanBeMadeReadonly wx.Object wx.ICanBeMadeReadonly

List of all members.

Public Member Functions

object Clone ()
override bool Equals (object obj)
 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 int GetHashCode ()
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())

Protected Member Functions

override void CallDTor ()

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]
static Font NullFont [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]


Detailed Description

The wx font model.

fontsmall.png

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

override void wx.Font.CallDTor (  )  [protected, virtual]

This will be called by Dispose() to delete the C++ object. Overload this if you have to use another DTor.

Reimplemented from wx.GDIObject.

object wx.Font.Clone (  ) 

override bool wx.Font.Equals ( object  obj  ) 

override int wx.Font.GetHashCode (  ) 

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]

Font wx.Font.NullFont [static, get]

A font without any properties.

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-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads