Compartir a través de


IVsThemeThumbnailProvider.GetThemeThumbnail Method

/ Returns a thumbnail image to use for the given theme. The thumbnail's type should be VSUI_TYPE_BITMAP

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Function GetThemeThumbnail ( _
    themeID As Guid _
) As IVsUIObject
IVsUIObject GetThemeThumbnail(
    Guid themeID
)
IVsUIObject^ GetThemeThumbnail(
    [InAttribute] Guid themeID
)
abstract GetThemeThumbnail : 
        themeID:Guid -> IVsUIObject
function GetThemeThumbnail(
    themeID : Guid
) : IVsUIObject

Parameters

  • themeID
    Type: Guid

    The theme ID.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
The HRESULT.

Remarks

The dimensions of the thumbnail depend on the DPI setting for the system:

Scale

Width

Height

100%

110

60

125%

138

75

150%

165

90

200%

220

120

.NET Framework Security

See Also

Reference

IVsThemeThumbnailProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace