ImageHelper.BitmapPaletteFromColorPalette Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function BitmapPaletteFromColorPalette ( _
palette As ColorPalette _
) As BitmapPalette
public static BitmapPalette BitmapPaletteFromColorPalette(
ColorPalette palette
)
public:
static BitmapPalette^ BitmapPaletteFromColorPalette(
ColorPalette^ palette
)
static member BitmapPaletteFromColorPalette :
palette:ColorPalette -> BitmapPalette
public static function BitmapPaletteFromColorPalette(
palette : ColorPalette
) : BitmapPalette
Parameters
- palette
Type: System.Drawing.Imaging.ColorPalette
Return Value
Type: System.Windows.Media.Imaging.BitmapPalette
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.