Partager via


IFont Interface

COM wrapper for a Windows font object. For more information, see IFont.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
<GuidAttribute("BEF6E002-A874-101A-8BBA-00AA00300CAB")> _
<InterfaceTypeAttribute()> _
Public Interface IFont
[GuidAttribute("BEF6E002-A874-101A-8BBA-00AA00300CAB")]
[InterfaceTypeAttribute()]
public interface IFont
[GuidAttribute(L"BEF6E002-A874-101A-8BBA-00AA00300CAB")]
[InterfaceTypeAttribute()]
public interface class IFont
[<GuidAttribute("BEF6E002-A874-101A-8BBA-00AA00300CAB")>]
[<InterfaceTypeAttribute()>]
type IFont =  interface end
public interface IFont

The IFont type exposes the following members.

Methods

  Name Description
Public method AddRefHfont
Public method Clone
Public method get_Bold
Public method get_Charset
Public method get_hFont
Public method get_Italic
Public method get_Name
Public method get_Size
Public method get_Strikethrough
Public method get_Underline
Public method get_Weight
Public method IsEqual
Public method put_Bold
Public method put_Charset
Public method put_Italic
Public method put_Name
Public method put_Size
Public method put_Strikethrough
Public method put_Underline
Public method put_Weight
Public method QueryTextMetrics
Public method ReleaseHfont
Public method SetHdc
Public method SetRatio

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace