次の方法で共有


LegendCellColumn.Font プロパティ

定義

凡例列のテキストのフォントを取得または設定します。

public:
 virtual property System::Drawing::Font ^ Font { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public virtual System.Drawing.Font Font { get; set; }
member this.Font : System.Drawing.Font with get, set
Public Overridable Property Font As Font

プロパティ値

凡例列のテキストのフォントを指定する Font オブジェクト。 既定値は null です。

注釈

このプロパティは、LegendCellColumnTypeText に設定され、Text プロパティにstring値が定義されている場合にのみ適用されます。 Font プロパティを使用して、凡例セル列のフォント プロパティを設定できます。

実行時にこの Font オブジェクトのプロパティを変更しようとすると、コンパイル エラーが発生します。 実行時にフォント プロパティを設定するには、新しい Font オブジェクトを作成する必要があります。

適用対象