我想要列印picturebox裡的圖片,我該怎做
2006-10-13 16:23:01 · 2 個解答 · 發問者 ? 1 in 電腦與網際網路 ➔ 程式設計
Private Sub Command1_Click() Dim W&, H&, T& T = Printer.ScaleMode With Picture1 Printer.ScaleMode = .ScaleMode W = .ScaleWidth H = .ScaleHeight Printer.PaintPicture .Picture, 0, 0, W, H, 0, 0, W, H Printer.EndDoc Printer.ScaleMode = T End WithEnd Sub
2006-10-14 09:13:18 · answer #1 · answered by W.J.S. 7 · 0⤊ 0⤋
語法好像是這樣 >>
Printer.Print Picture1.Picture
我家沒有印表機,我不知道這樣寫對不對,給你個參考吧
2006-10-13 20:17:40 · answer #2 · answered by Shinwill 4 · 0⤊ 0⤋