Partager via


IVsThemeThumbnailProvider.GetThemeThumbnail(Guid) Method

Definition

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

public:
 Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ GetThemeThumbnail(Guid themeID);
public Microsoft.VisualStudio.Shell.Interop.IVsUIObject GetThemeThumbnail (Guid themeID);
abstract member GetThemeThumbnail : Guid -> Microsoft.VisualStudio.Shell.Interop.IVsUIObject
Public Function GetThemeThumbnail (themeID As Guid) As IVsUIObject

Parameters

themeID
Guid

The theme ID.

Returns

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

Applies to