Translates the specified color in the image, and returns the nearest matching color in the destination image.
Syntax
Parameters
- destImage
- Destination RasterImage object.
- rgb
- Value that specifies the color in the image to be translated.
Return Value
The color value or the palette index of the nearest matching color in the destination image. If the destination
image is 8 bits per pixel or less, this is always the palette index. Otherwise, it is the color value.
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