Export (0) Print
Expand All

Font Class

Defines a particular format for text, including font face, size, and style attributes. This class cannot be inherited.

For a list of all members of this type, see Font Members.

System.Object
   System.MarshalByRefObject
      System.Drawing.Font

[Visual Basic]
<Serializable>
<ComVisible(True)>
NotInheritable Public Class Font
   Inherits MarshalByRefObject
   Implements ICloneable, ISerializable, IDisposable
[C#]
[Serializable]
[ComVisible(true)]
public sealed class Font : MarshalByRefObject, ICloneable,
   ISerializable, IDisposable
[C++]
[Serializable]
[ComVisible(true)]
public __gc __sealed class Font : public MarshalByRefObject,
   ICloneable, ISerializable, IDisposable
[JScript]
public
   Serializable
 ComVisible(true)
class Font extends MarshalByRefObject implements
   ICloneable, ISerializable, IDisposable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: System.Drawing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Drawing (in System.Drawing.dll)

See Also

Font Members | System.Drawing Namespace

Show:
© 2014 Microsoft