次の方法で共有


Font クラス

フォント フェイス、サイズ、スタイルの各属性など、テキストの特定の書式を定義します。このクラスは継承できません。

この型のすべてのメンバの一覧については、Font メンバ を参照してください。

System.Object
   System.MarshalByRefObject
      System.Drawing.Font

<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

スレッドセーフ

この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。

必要条件

名前空間: System.Drawing

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

アセンブリ: System.Drawing (System.Drawing.dll 内)

参照

Font メンバ | System.Drawing 名前空間