Returns a palette corresponding to this
RasterImage if painted on the given graphics object.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RasterImage
Dim graphics As Graphics
Dim value() As RasterColor
value = instance.GetPaintColors(graphics)
|
Parameters
- graphics
- The graphics object on which this image is painted.
Return Value
An array of color for the palette
Remarks
Requirements
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
See Also