Image Viewer CP ActiveX Control

PrintVertAlign  

 

Specifies vertical alignment when printing. 
 

ImageViewer1.PrintVertAlign[=Integer]


Parameter
Integer
0 - Top Align
1 - Center Align
2 - Bottom Align


Remark
This property is Read/Write.

Example

   

Visual Basic Syntax
ImageViewer1.FileName = "c:\1.tif"
ImageViewer1.PrintOutline = True
ImageViewer1.PrintStretch = True
ImageViewer1.PrintMarginX = 10
ImageViewer1.PrintMarginY = 10
ImageViewer1.PrintSpaceX = 10
ImageViewer1.PrintSpaceY = 10
ImageViewer1.PrintVertAlign = 1
ImageViewer1.PrintHorzAlign = 1
ImageViewer1.PrintColCount = 2
ImageViewer1.PrintRowCount = 2
ImageViewer1.PrintStartPage=1
ImageViewer1.PrintEndPage=5
ImageViewer1.PrintImage(True)