Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show part of an image
Message
 
To
26/04/2002 03:50:13
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00649492
Message ID:
00649622
Views:
11
>I have an image. I want to show only some part of it. Tell me how to show it with passing cordinates.

If you have an image in BMP format, then you can clip a part of picture using PictureClip ActiveX control. Then you can show the clipped image using any ActiveX control which able to display picture. It may be bbPicture control from downloads section, other third-party image control or simply ListView ActiveX control.
ThisForm.oPicClip.Picture = LoadPicture("test.bmp")
ThisForm.oPicClip.ClipX = 50
ThisForm.oPicClip.ClipY = 50
ThisForm.oPicClip.ClipHeight = 100
ThisForm.oPicClip.ClipWidth = 200
ThisForm.oListView.Picture = ThisForm.oPicClip.Clip
Previous
Reply
Map
View

Click here to load this message in the networking platform