Image Viewer CP ActiveX Control

PrintStretch    

 

Enable/Disable stretch the image when printing.

ImageViewer1.PrintStretch[=Boolean]


Parameter
Boolean
true - enable stretch the image, false no stretch image.


Remark
This property is Read/Write.

Example

   

Visual Basic Syntax
ImageViewer1.FileName = "c:\1.jpg"
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.PrintImage True