Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > RasterImage Class > TranslateColor Method : TranslateColor(RasterImage,RasterColor) Method |
public RasterColor TranslateColor( RasterImage destImage, RasterColor color )
'Declaration
Public Overloads Function TranslateColor( _ ByVal destImage As RasterImage, _ ByVal color As RasterColor _ ) As RasterColor
'Usage
Dim instance As RasterImage Dim destImage As RasterImage Dim color As RasterColor Dim value As RasterColor value = instance.TranslateColor(destImage, color)
public RasterColor TranslateColor( RasterImage destImage, RasterColor color )
- (LTRasterColor *)translateColor:(LTRasterImage *)dstImage color:(LTRasterColor *)color
public RasterColor translateColor(
RasterImage destImage,
RasterColor color
)
public: RasterColor TranslateColor( RasterImage^ destImage, RasterColor color )
When creating a target image for animation, you can use this method to ensure that the correct color is specified as the background color.
The reverse of this method (to get a true RGB color value from a palette index color), use GetTrueColorValue.