| Visual Basic (Declaration) | |
|---|---|
Public Function GetPaintPalette( _ ByVal graphics As Graphics _ ) As ColorPalette | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public ColorPalette GetPaintPalette( Graphics graphics ) | |
| Managed Extensions for C++ | |
|---|---|
public: ColorPalette GetPaintPalette( Graphics graphics ) | |
| C++/CLI | |
|---|---|
public: ColorPalette GetPaintPalette( Graphics graphics ) | |
Parameters
- graphics
- The graphics object on which this RasterImage is painted.
Return Value
a GDI+ palette
For more information, refer to Handling Palette Changes.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family