Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
The ThumbnailHelper.GetThumbnail(String) method retrieves the thumbnail image for a command in the Command Palette. This method is useful for enhancing the visual representation of commands by providing associated images.
Parameters
path String
The path to the command for which the thumbnail is requested.
jumbo Boolean
A boolean value indicating whether to retrieve a jumbo-sized thumbnail. If set to true, the method will return a larger version of the thumbnail image. If set to false, it will return a standard-sized thumbnail. The default value is false.
Returns
A Task<IRandomAccessStream> that represents the thumbnail image for the specified command. If no thumbnail is found, the task will return null.
Windows developer