IVsThemeThumbnailProvider.GetThemeThumbnail(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
/ 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 |