Freigeben über


IFont Interface

Definition

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

public interface class IFont
public interface class IFont
__interface IFont
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("BEF6E002-A874-101A-8BBA-00AA00300CAB")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IFont
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("BEF6E002-A874-101A-8BBA-00AA00300CAB")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IFont
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("BEF6E002-A874-101A-8BBA-00AA00300CAB")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IFont = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("BEF6E002-A874-101A-8BBA-00AA00300CAB")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IFont = interface
Public Interface IFont
Attributes

Methods

AddRefHfont(IntPtr)
Clone(IFont)
get_Bold(Int32)
get_Charset(Int16)
get_hFont(IntPtr)
get_Italic(Int32)
get_Name(String)
get_Size(Decimal[])
get_Size(UInt64)
get_Strikethrough(Int32)
get_Underline(Int32)
get_Weight(Int16)
IsEqual(IFont)
put_Bold(Int32)
put_Charset(Int16)
put_Italic(Int32)
put_Name(String)
put_Size(Decimal)
put_Size(UInt64)
put_Strikethrough(Int32)
put_Underline(Int32)
put_Weight(Int16)
QueryTextMetrics(TEXTMETRICOLE[])
ReleaseHfont(IntPtr)
SetHdc(IntPtr)
SetRatio(Int32, Int32)

Applies to