IFont 接口

窗口字体对象的 COM 包装。 有关更多信息,请参见 IFont

命名空间:  Microsoft.VisualStudio.OLE.Interop
程序集:  Microsoft.VisualStudio.OLE.Interop(在 Microsoft.VisualStudio.OLE.Interop.dll 中)

语法

声明
<GuidAttribute("BEF6E002-A874-101A-8BBA-00AA00300CAB")> _
<InterfaceTypeAttribute()> _
Public Interface IFont
[GuidAttribute("BEF6E002-A874-101A-8BBA-00AA00300CAB")]
[InterfaceTypeAttribute()]
public interface IFont

IFont 类型公开以下成员。

方法

  名称 说明
公共方法 AddRefHfont
公共方法 Clone
公共方法 get_Bold
公共方法 get_Charset
公共方法 get_hFont
公共方法 get_Italic
公共方法 get_Name
公共方法 get_Size
公共方法 get_Strikethrough
公共方法 get_Underline
公共方法 get_Weight
公共方法 IsEqual
公共方法 put_Bold
公共方法 put_Charset
公共方法 put_Italic
公共方法 put_Name
公共方法 put_Size
公共方法 put_Strikethrough
公共方法 put_Underline
公共方法 put_Weight
公共方法 QueryTextMetrics
公共方法 ReleaseHfont
公共方法 SetHdc
公共方法 SetRatio

页首

请参见

参考

Microsoft.VisualStudio.OLE.Interop 命名空间