次の方法で共有


FontFamily.GetFamilies(Graphics) メソッド

定義

注意事項

Do not use method GetFamilies, use property Families instead

注意事項

FontFamily.GetFamilies has been deprecated. Use Families instead.

指定したグラフィックス コンテキストで使用可能な FontFamily オブジェクトがすべて含まれている配列を返します。

public:
 static cli::array <System::Drawing::FontFamily ^> ^ GetFamilies(System::Drawing::Graphics ^ graphics);
[System.Obsolete("Do not use method GetFamilies, use property Families instead")]
public static System.Drawing.FontFamily[] GetFamilies (System.Drawing.Graphics graphics);
[System.Obsolete("FontFamily.GetFamilies has been deprecated. Use Families instead.")]
public static System.Drawing.FontFamily[] GetFamilies (System.Drawing.Graphics graphics);
public static System.Drawing.FontFamily[] GetFamilies (System.Drawing.Graphics graphics);
[<System.Obsolete("Do not use method GetFamilies, use property Families instead")>]
static member GetFamilies : System.Drawing.Graphics -> System.Drawing.FontFamily[]
[<System.Obsolete("FontFamily.GetFamilies has been deprecated. Use Families instead.")>]
static member GetFamilies : System.Drawing.Graphics -> System.Drawing.FontFamily[]
static member GetFamilies : System.Drawing.Graphics -> System.Drawing.FontFamily[]
Public Shared Function GetFamilies (graphics As Graphics) As FontFamily()

パラメーター

graphics
Graphics

FontFamily オブジェクトを返す Graphics オブジェクト。

戻り値

指定した FontFamily オブジェクトで使用可能な Graphics オブジェクトの配列。

属性

例外

graphicsnullです。

適用対象