Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, June 4, 2008 2:26:07 AM(UTC)
Sohailsoh

Groups: Registered
Posts: 13


Hello All,
I am in need of for the following points

1) draw two circles on an image after loading it in AxLEADRasterView (LeadTools Raster Imager V14.5) Conrol.

2) move the image by mouse or by buttones to adjust the image under these circles at a specific position.

3) crop the image after adjusting if it is outside the  AxLEADRasterView viewer pane.

Please guide in this regard?

Thanks in advance.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, June 8, 2008 8:36:42 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,034

Was thanked: 1 time(s) in 1 post(s)












To enable panning with the mouse, set the LEADRasterView.AutoPan property to True.
To draw
on the control without affecting the bitmap itself, do the following in the Paint event of the LEADRasterView control:
1. Use an object of type LEADRasterFXD
2. Set its LEADRasterFXD.DrawPersistence property to False
3. Call
the LEADRasterFXD.DrawEllipse() method, and pass it a value of null (or Nothing)
for the pRaster parameter, and the LEADRasterView.GetClientDC() value for the hDC parameter.


To crop the image after you're done panning, use the LEADRasterProcess.Trim() method.

 
#3 Posted : Tuesday, June 24, 2008 5:50:10 AM(UTC)
Sohailsoh

Groups: Registered
Posts: 13


Thank you.

but i am unable to find the reference to have LEADRasterFXD object.

Please let me know the DLL/Namespace v 14.5

 

Regards

 
#4 Posted : Wednesday, June 25, 2008 9:31:00 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,034

Was thanked: 1 time(s) in 1 post(s)

Add the LEAD Raster 3D DrawEffect Object Library to your project.  
On the Project pull-down menu, use the References option, and select the LEAD Raster 3D DrawEffect Object Library. You should find it in the COM tab.

 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.163 seconds.