LEADTOOLS Support
Imaging
Imaging SDK Questions
Is there any way to Offset or set the position of an image in a rasterimage viewer
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, June 2, 2008 6:27:24 AM(UTC)
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
#2
Posted
:
Monday, June 2, 2008 10:03:55 PM(UTC)
Groups: Registered
Posts: 28
Im using c# and version 15
#3
Posted
:
Tuesday, June 3, 2008 4:03:36 AM(UTC)
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.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Is there any way to Offset or set the position of an image in a rasterimage viewer
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.