因为画了张图,希望能够复制或导出
解决方案 »
- webbrowser打开页面时如何带上cookie?
- 用vb与cmd交互
- 这种方法可以实现吗?
- vb中,我用线段,圆画了一个简单的钟表,我想用鼠标拖动那个用线段画的表针来设置表的时间,不知道vb那个东东可以识别鼠标点击那个线段的
- 在绘制矩形中用到的,,是什么意思
- 看看这个问题?
- 一个递归调用中出现的问题
- 大家帮我解决这个小程序。(在结等待)
- 怎样把自己的软件名加到在word/IE/文本文档里的右键中去!象网络蚂蚁,在ie按右键,出现‘download by netants'.我现在只能实现右击文件夹,才可以看到我的软件名! 急
- 为什么down下的Activereports控件演示版没有任何时间和功能的限制呢?
- 个性化选择,单黑打印要成流行时尚?佳能诠释为:经济、专一、高速的选择。
- 如何将多张静态GIF合成一张动态GIF?
Private Declare Function StretchBlt Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal dwRop As Long) As LongPrivate Sub Command1_Click()
Dim wScreen As Long
Dim hScreen As Long
Dim w As Long
Dim h As Long
Dim pic As PictureBox
Picture1.Cls
Picture1.AutoRedraw = True
wScreen = Screen.Width \ Screen.TwipsPerPixelX
hScreen = Screen.Height \ Screen.TwipsPerPixelY
Picture1.ScaleMode = vbPixels
w = Picture1.ScaleWidth
h = Picture1.ScaleHeight
hdcScreen = GetDC(0)
p = StretchBlt(Picture1.hdc, 0, 0, w, h, hdcScreen, 0, 0, wScreen, hScreen, vbSrcCopy)
Picture1.RefreshEnd SubPrivate Sub Command2_Click()
SavePicture Picture1.Image, "c:\111.bmp"
End Sub
Me.Picture1.AutoRedraw = True
Me.Picture1.Line -(1000, 1000), vbRed
SavePicture Me.Picture1.Image, "D:\Name1.bmp"
End Sub