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 : Monday, June 2, 2008 6:27:24 AM(UTC)
leftback

Groups: Registered
Posts: 28


Can this be done?

By this I mean if i have a RasterImage Viewer that is 400 by 400 and I want its Image(200,200) to display at location 300,100. (Even if it cuts out some of the image - that is the effect I am searching for - ie the same as moving an image with the offset property in the medical image viewer)

Cheers
 

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 : Monday, June 2, 2008 10:03:55 PM(UTC)
leftback

Groups: Registered
Posts: 28


Im using c# and version 15
 
#3 Posted : Tuesday, June 3, 2008 4:03:36 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

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


If you want
to take a portion of the image and display it in the same image with offset, you can do the following:


- Create a
RasterImage, use the Clone method to take the portion of the image that you want and copy it to the new RasterImage.


- Combine
the new Raster Image to the original RasterImage using the CombineCommand and set the destinationRectangle parameter to the desired location.

 
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-2024, Yet Another Forum.NET
This page was generated in 0.046 seconds.