Changes the specified color in the image to be transparent.

Namespace: Ico.Gwx
Assembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public bool SetTransparentColor(
	Color transparentColor
)
Visual Basic
Public Function SetTransparentColor ( _
	transparentColor As Color _
) As Boolean
JScript
public function SetTransparentColor(
	transparentColor : Color
) : boolean

Parameters

transparentColor
Type: System.Windows.Media..::..Color
The Color to make transparent. Use Color(A=0,R=0,G=0,B=0) to remove existing transparent colors.

Return Value

True if the transparent color is successfully set, false otherwise.

Remarks

Existing transparent colors that are not the specified transparentColor are made opaque.

See Also