Assembly: Phoenix.ComponentBuilderAPI.dll
GetIconImageSourceAsync(IPacz)
Given anPhoenix.PaczAPI.IPacz, retrieve the icon as an System.Windows.Media.ImageSource.
This returns the icon scaled to 16 x 16.
Parameters
paczSource IPacz
The PACZ from which to extract an icon.
Returns
Task<ImageSource> The icon as aSystem.Windows.Media.ImageSource if it could successfully be loaded or null if the PACZ does not have an icon.