Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- pixelFormat
- A PixelFormat to specify for the color palette.
Return Value
A System.Drawing.Imaging.ColorPalette object.This helper function is for convenience and can be used as a class factory for the System.Drawing.Imaging.ColorPalette class since it is a sealed class that does not allow it to be dynamically created with a new.