piciuriello$2007034 piciuriello 02/05/2007 :: 18:49
Registered
| | Hello, I just bought GdPicture Toolkit Pro Edition. Now, in VB6, I need to use GdPicture to rotate a big image (5092x4295) by an angle (RotateAngleBackColor) and then get the Picture rotated and put it in a PictureBox (I can't use GdViewer because I need to drow lines, points and cicles after that, so I use a standard PictureBox).
It seams that after the rotation the method GdPicture.getPicture fails to return a stdpicture object.
I made an experiment and I tried to change the sample RotateByAngle changing the row: oGdViewer.DisplayFromImageRef (oGdPicture.GetNativeImage) of Private Sub HScroll1_Change() to oGdViewer.DisplayFromStdPicture (oGdPicture.GetPicture) and I got an error: "Type mismatch (Error 13)" Just to be sure I tried also with small images and still got the error. What was wrong?
Thank's a lot | |