Image Viewer CP ActiveX Control

PrintEndPage

 

Specifies end of page no. When you printing multipage image file, you can define the range of printing page. If set PrintStartPage and PrintEndPage =  -1 mean print all pages.

ImageViewer1.PrintEndPage[=Integer]


Parameter
Integer
the end of page no.


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)