Public Declare Function DrawText Lib "user32" Alias "DrawTextA" (ByVal hdc As Long, ByVal lpStr As String, ByVal nCount As Long, lpRect As RECT, ByVal wFormat As Long) As Long
Public Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
其中,hdc为pictrue1.hdc,lpStr为字符串,nCount为字符串长度,lpRect为坐标类型,wFormat为对格式(对齐方式)
Public Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
其中,hdc为pictrue1.hdc,lpStr为字符串,nCount为字符串长度,lpRect为坐标类型,wFormat为对格式(对齐方式)
pic.currenty=..
pic.print ....
picture1.CurrentY 是y坐标
picture1.FontName 是设置打印的字体
picture1.FontSize 是字号等等
pic.currenty=..
pic.print ....
就是楼上说的这些