Image Viewer CP ActiveX Control

PrintSetOrientation

 

Set the page orientation programatically when you called PrintImage2Printer.
 

ImageViewer1.PrintSetOrientation[=Integer]


Parameter
Integer
0 - PORTRAIT
1 - LANDSCAPE


 


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.PrintSetQuality=0
ImageViewer1.PrintSetDuplex=1
ImageViewer1.PrintSetOrientation=0
ImageViewer1.PrintImage2Pinter(""HP LaserJet 4L")