This documentation is archived and is not being maintained.

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.


[Visual Basic]
NotInheritable Public Class Font
   Inherits MarshalByRefObject
   Implements ICloneable, ISerializable, IDisposable
public sealed class Font : MarshalByRefObject, ICloneable,
   ISerializable, IDisposable
public __gc __sealed class Font : public MarshalByRefObject,
   ICloneable, ISerializable, IDisposable
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.


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