AmbientProperties.Font Property

Definition

Gets or sets the ambient font of an object.

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

Property Value

A Font that represents the font used when displaying text within an object.

Remarks

If there is no ambient font, the value of the Font property is null.

Applies to

See also