Click or drag to resize

TpsControlInvertImage Method

This method is used for inverting colors in a bitmap. The color (109, 21, 165) will be converted to (255,255,255) and vice versa. The method can be used if no pressed image is available and want to be used. It is good pratice to save the converted image because the transformation takes time.

Namespace:  ABB.Robotics.Tps.Windows.Forms
Assembly:  ABB.Robotics.Tps.Windows.Forms (in ABB.Robotics.Tps.Windows.Forms.dll) Version: 6.5.129.0
Syntax
C#
public static Bitmap InvertImage(
	Image originalImage
)

Parameters

originalImage
Type: System.DrawingImage
The original image to be converted

Return Value

Type: Bitmap
A converted bitmap
See Also