易截截图软件、单文件、免安装、纯绿色、仅160KB

vb打印问题


Printer.ScaleMode = 6
6表示毫米
Printer.PaperSize = vbPRPSA4

'初始坐标
x = 1
y = 4


'最大的线筐
Printer.DrawStyle = 0
Printer.Line (x, y)-(x + 132.5, y) '起点坐标-终点坐标
Printer.DrawStyle = 0
Printer.Line (x + 132.5, y)-(x + 132.5, y + 194) '起点坐标-终点坐标
Printer.DrawStyle = 0
Printer.Line (x + 132.5, y + 194)-(x, y + 194) '起点坐标-终点坐标
Printer.DrawStyle = 0
Printer.Line (x, y + 194)-(x, y) '起点坐标-终点坐标


我的初始坐标是1毫米和4毫米,但是我打印在A4纸上确是8毫米和8毫米,我用尺量了,很奇怪,大家帮忙看看什么原因???
是否页边距的问题?

还是搞不定啊

大家帮帮忙啊

引用
Printer.ScaleMode = 6
6表示毫米
Printer.PaperSize = vbPRPSA4

'初始坐标
x = 1
y = 4


'最大的线筐
Printer.DrawStyle = 0
Printer.Line (x, y)-(x + 132.5, y) '起点坐标-终点坐标
Printer.DrawStyle = 0
Printer.Line (x + 132.5, y)-(x + 132.5, y + 194) '起点坐标-终点坐标
Printer.DrawStyle = 0
Printer.Line (x + 132.5, y + 194)-(x, y + 194) '起点坐标-终点坐标
Printer.DrawStyle = 0
Printer.Line (x, y + 194)-(x, y) '起点坐标-终点坐标


我的初始坐标是1毫米和4毫米,但是我打印在A4纸上确是8毫米和8毫米,我用尺量了,很


相关问答:

假前最后一帖ASP调用VB组件

我用VB按MVC的构架写组件供ASP调用
BLL层
VB code:

Private Dal As New moonPotato_DAL
Public Sub inSertUser(Model As moonPotato_Model)
Dal.InSertCls (Model)
End Sub

ASP中调用
VB c ......

求 拼VB SQL insert into 字符串

  INSERT INTO StudAchieve(studID,studName)
  VALUES('2','abc'),('2','bcd'),('2','cde')

  拼了半天也不对,及啊 。。。。
SQL c ......

我要学存储过程(VB.NET,SQL)跪求教程~~

如题~~
MSDN,Google,想系统学建议还是买本书看吧,毕竟手打的代码记忆要比复制的深刻。

我要边学边用在代码里面,肯定要手打的了


看看sql server 2005的帮助很全面或看看书
http://topic.csdn.net/u/2 ......

vb MSFlexGrid1.Row 实时错误'30009'Row数值无效

代码如下:
Private Sub MSFlexGrid1_SelChange()
  If MSFlexGrid1.Rows = 1 Then Exit Sub
  If MSFlexGrid1.Row = 0 Then Exit Sub
 
  grid_row = MSFlexGrid1.Row
......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号