FreeImage.SetTransparentIndex Method

FreeImage.NET

FreeImageSetTransparentIndex Method
Sets the index of the palette entry to be used as transparent color for the image specified. Does nothing on high color images.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static void SetTransparentIndex(
	FIBITMAP dib,
	int index
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
index
Type: SystemInt32
The index of the palette entry to be set as transparent color.
See Also