Bagikan melalui


LegendCell.Font Properti

Definisi

Mendapatkan atau mengatur font untuk sel legenda.

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

Nilai Properti

Objek Font yang mewakili font untuk sel legenda. Nilai defaultnya adalah "Microsoft Sans Serif, 8pt".

Keterangan

Properti Font dapat digunakan untuk mengatur properti font sel legenda.

Jika Anda mencoba mengubah properti objek ini Font pada waktu proses, kesalahan kompilasi akan terjadi. Untuk mengatur properti font pada waktu proses, Anda harus membuat objek baru Font .

Berlaku untuk