mine come out fine, what are you using?
(I do this)
Code:Option Explicit 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 Private Sub Command1_Click() Call StretchBlt( _ Picture2.hdc, _ 0, 0, _ Picture1.ScaleX(Picture1.ScaleWidth, Picture1.ScaleMode, vbPixels), Picture1.ScaleY(Picture1.ScaleHeight, Picture1.ScaleMode, vbPixels), _ Picture1.hdc, _ 0, ScaleY(Picture1.ScaleHeight, Picture1.ScaleMode, vbPixels), _ Picture1.ScaleX(Picture1.ScaleWidth, Picture1.ScaleMode, vbPixels), -Picture1.ScaleY(Picture1.ScaleHeight, Picture1.ScaleMode, vbPixels), _ vbSrcCopy _ ) End Sub




Reply With Quote