IJanek$
IJanek

01/30/2007 :: 19:18

Anonyme

Is it possible to use your OCX to clean (delete selected rectangle) the image?
Loïc$2006306
Loïc

01/31/2007 :: 14:36

Registered

Hi,

You can do that easily with le last gdpicture pro 3.0 :
http://www.gdpicture.com/forum/forum.php?view=265

Dim nTop As Long, nLeft As Long, nWidth As Long, nHeight As Long
Dim oGdPicture As New GdpicturePro.cGdPicture


Call oGdViewer.GetRectValues(nTop, nLeft, nWidth, nHeight)
Call oGdPicture.SetNativeImage(oGdViewer.GetNativeImage)
Call oGdPicture.DrawFillRectangle(nLeft, nTop, nWidth, nHeight, oGdPicture.ARGB(255, 255, 255, 255))
oGdViewer.Redraw

Best regards,

Loïc
back to forum