Image Viewer CP ActiveX Control

PrintSetDocumentName

 

Set the document name programatically when you called PrintImage2Printer.
 

ImageViewer1.PrintSetDocumentName[=String]


Parameter
String
the string of document name.

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.PrintSetCopies=1
ImageViewer1.PrintSetPaperSource=1
ImageViewer1.PrintSetDocumentName="mytest"
ImageViewer1.PrintImage2Pinter(""HP LaserJet 4L")