Image Viewer CP ActiveX Control

GIFTranColor

 

Set the transparent color of GIF file. You need set the GIFErrorDiffusion property to false if you want to use transparent color.
 

ImageViewer1.GIFTranColor[=Color]


Parameter
Color
The Transparent color.

Remark
This property is Read/Write.

Example

   

Visual Basic Syntax
ImageViewer1.FileName = "c:\1.tif"
ImageViewer1.GIFErrorDiffusion = False
ImageViewer1.GIFTranColor = RGB(255,0,0)
ImageViewer1.GIFMaxColor= 256
ImageViewer1.GIFQuantizer= 1
ImageViewer1.Save "c:\test.gif","gif"