TextAnnotation.Font 属性

定义

获取或设置批注文本的字体。

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 对象,然后将其分配给此属性。

适用于