Image Viewer CP ActiveX Control

GIFMaxColor

 

Set the max color of GIF file.
 

ImageViewer1.GIFMaxColor[=Integer]


Parameter
Integer
The valid value is 16, 32, 64, 128, 256.


Remark
This property is Read/Write.

Example

   

Visual Basic Syntax
ImageViewer1.FileName = "c:\1.tif"
ImageViewer1.GIFErrorDiffusion = True
ImageViewer1.GIFMaxColor= 256
ImageViewer1.GIFQuantizer= 1
ImageViewer1.Save "c:\test.gif","gif"