|
When you set PrintSetPaperSize property to 0, you may set the width of custom paper programatically. These values, along with all other values in this structure that specify a physical length, are in tenths of a millimeter.
ImageViewer1.PrintSetCustomPaperWidth[=Integer]
|
Parameter Integer The width of custom paper size.
Remark This property is Read/Write.
Example
|
Visual Basic Syntax ImageViewer1.FileName = "c:\1.tif" ImageViewer1.PrintOutline = True ImageViewer1.PrintSetPaperSize=0 ImageViewer1.PrintSetColor=0 ImageViewer1.PrintSetCopies=1 ImageViewer1.PrintSetCustomPaperHeight=1000 ImageViewer1.PrintSetCustomPaperWidth=1000 ImageViewer1.PrintImage2Pinter(""HP LaserJet 4L")
|
|
|
|