FontAndColorProviderBase.IVsFontAndColorEvents.OnFontChanged Method

Applies font changes.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Private Function OnFontChanged ( _
    ByRef guid As Guid, _
    fontInfo As FontInfo(), _
    logFont As LOGFONTW(), _
    hFont As UInteger _
) As Integer Implements IVsFontAndColorEvents.OnFontChanged
'Usage
Dim instance As FontAndColorProviderBase 
Dim guid As Guid 
Dim fontInfo As FontInfo()
Dim logFont As LOGFONTW()
Dim hFont As UInteger 
Dim returnValue As Integer 

returnValue = CType(instance, IVsFontAndColorEvents).OnFontChanged(guid, _
    fontInfo, logFont, hFont)
int IVsFontAndColorEvents.OnFontChanged(
    ref Guid guid,
    FontInfo[] fontInfo,
    LOGFONTW[] logFont,
    uint hFont
)
private:
virtual int OnFontChanged(
    Guid% guid, 
    array<FontInfo>^ fontInfo, 
    array<LOGFONTW>^ logFont, 
    unsigned int hFont
) sealed = IVsFontAndColorEvents::OnFontChanged
private abstract OnFontChanged : 
        guid:Guid byref * 
        fontInfo:FontInfo[] * 
        logFont:LOGFONTW[] * 
        hFont:uint32 -> int  
private override OnFontChanged : 
        guid:Guid byref * 
        fontInfo:FontInfo[] * 
        logFont:LOGFONTW[] * 
        hFont:uint32 -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • fontInfo
    Type: array<FontInfo[]
    A FontInfo array.
  • logFont
    Type: array<LOGFONTW[]
    A LOGFONTW array.

Return Value

Type: System.Int32
An integer value.

Implements

IVsFontAndColorEventsOnFontChanged(Guid, FontInfo, LOGFONTW, UInt32)

See Also

Reference

FontAndColorProviderBase Class

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace