도와주세요 급합니다..Help me....
델파이 6.0 에서는 아래와 같이 코딩을 하면 정상적으로 돌아갑니다.
ImgEdit1.RotateLeft(1);
근데 델팡 4.0 에서 하려다보니 자꾸 아래처럼 에러가 나는데...... 도무지 알길이 없네요...
EOleException with message '지정한 옵션이 올바르지 않습니다.
Unable to rotate the image 90 degrees to the left '.
:Process stopped. Use Step or Run to continue.
procedure TSKMgt_Main.FormActivate(Sender: TObject);
begin
imgedit1.Image := ExtractFilePath(Application.ExeName) + '2001050101-7312291631811-00.tif';
ImgEdit1.Display ;
ImgEdit1.FitTo(1,True);
ImgEdit1.RotateLeft(1);
// ImgEdit1.Refresh ;
end;
end.
|