TextAnnotation.Font 属性

定义

获取或设置批注文本的字体。Gets or sets the font for the annotation text.

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

属性值

Font

一个 Font 对象,该对象用作批注文本的字体。A Font object used as the font for the annotation text.

注解

若要设置此属性,请创建一个新的 Font 对象,然后将其分配给此属性。To set this property, create a new Font object, and then assign it to this property.

适用于