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, April 19, 2006 8:10:11 PM(UTC)

eahema  
eahema

Groups: Registered
Posts: 9


How To center the Image using Rasterview control...i am displaying DICOM image using rasterview control. i want displaying  Image in center off the Comaponent.....

regards

hema

 

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 : Thursday, April 20, 2006 11:10:45 AM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

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

Hema,

If you are using the LEADRasterView control (part of the Raster COM
objects), you can use CenterImage property when the displayed image is smaller than the client area.


If you want to center it even when its painted size is larger than the
client rectangle, you can do that by specifying the Destination Rectangles (SetDstRect and SetDstClipRect  methods).

Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
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.039 seconds.