Image Viewer CP ActiveX Control

PrintSetColor

 

Set the color mode programatically when you called PrintImage2Printer.
 

ImageViewer1.PrintSetColor[=Integer]


Parameter
Integer
0- Color mode
1- MONOCHROME mode


Remark
This property is Read/Write.

Example

   

Visual Basic Syntax
ImageViewer1.FileName = "c:\1.tif"
ImageViewer1.PrintOutline = True
ImageViewer1.PrintSetPaperSize=1
ImageViewer1.PrintSetColor=0
ImageViewer1.PrintImage2Pinter(""HP LaserJet 4L")