打印单位换算

'' 纸张尺寸换算. 1单位= 1/100英寸
Private pw As Integer = CInt((PackingListPrint.pw.Value * 100 / 25.4))     '纸宽
Private ph As Integer = CInt((PackingListPrint.ph.Value * 100 / 25.4))    '纸高
Private ml As Integer = CInt((PackingListPrint.pl.Value * 100 / 25.4))    '页面左边距
Private mt As Integer = CInt((PackingListPrint.pt.Value * 100 / 25.4))    '页面上边距

你可能感兴趣的:(打印)