Image Viewer CP Gold SDK ActiveX Control ReferenceProperties PrintSetOrientation Image Viewer CP ActiveX Control PrintSetOrientation Set the page orientation programatically when you called PrintImage2Printer. ImageViewer1.PrintSetOrientation[=Integer] ParameterInteger0 - PORTRAIT1 - LANDSCAPE RemarkThis property is Read/Write. Example Visual Basic SyntaxImageViewer1.FileName = "c:\1.tif"ImageViewer1.PrintOutline = TrueImageViewer1.PrintSetPaperSize=1ImageViewer1.PrintSetColor=0ImageViewer1.PrintSetCopies=1ImageViewer1.PrintSetPaperSource=1ImageViewer1.PrintSetQuality=0ImageViewer1.PrintSetDuplex=1ImageViewer1.PrintSetOrientation=0ImageViewer1.PrintImage2Pinter(""HP LaserJet 4L")