请问大窗口如何打印?
我画了个比较大的窗口.然后用Printform打印的话,有一部分会打印不了,请问如何处理?实际要打印的效果是A4纸左右的大小
我查了一下可以用PICTUREBOX 把那窗口复制下来 然后打印PICTURE,这样可以吗?麻烦给一下代码谢谢!
[解决办法]
使用StretchBlt来复制并缩小窗体图片到到制定的PictureBox上,然后再打印
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 Long
[解决办法]
窗体上放1个picturebox,拖满窗体,picturebox里再放上原来窗体的控件