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, August 22, 2011 11:59:30 PM(UTC)
nguyenvanhopbk

Groups: Registered
Posts: 7


Dear Sir
Now I am using Leadtool V17 with MS Visual studio 2008, C#.
When I use rasterimageviewer in toolbox to view a Dicom Image. It displayed OK.
But I can not display at center of rasterimageviewer.
I realy want to display Dicom image at center each time when I open a Dicom image.
can you show me How to do that.
thank you so much
 

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 : Tuesday, August 23, 2011 1:33:40 PM(UTC)

Walter  
Walter

Groups: Tech Support
Posts: 366

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)

Hello,

The RasterimageViewer was not designed with the idea that it would be used for medical images. It sounds like you're looking for functionality that is already built into the Leadtools.MedicalViewer. Have you tried using it instead?

I've attached a simple load/save project as an illustration of how you can use the MedicalViewer. I would suggest checking it out since you're displaying DICOM files.

With the RasterImageViewer though, have you tried checking out the VerticalAlignMode and HorizontalAlignMode properties?
File Attachment(s):
MedicalViewer_SimpleLoadSave_v17.zip (29kb) downloaded 103 time(s).
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
#3 Posted : Tuesday, September 27, 2011 11:27:20 PM(UTC)
nguyenvanhopbk

Groups: Registered
Posts: 7


Hi sir
can you try do it with VC++?
thank you so much!
 
#4 Posted : Thursday, September 29, 2011 8:20:47 AM(UTC)

Walter  
Walter

Groups: Tech Support
Posts: 366

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)

Hello,

Are you trying to use managed C++ with our .NET libraries, or are you asking now to try this with our C++ Class Library?

I don't have any examples that I can post for this, but with our C++ Class Library, you can use with LBitmapWindow class to handle the painting. You could check out the example in our C++ Class library for ScrollZoom. I loaded "cannon.jpg" from our sample images, and it was already centered as you're asking about. Here's the relative path to the project:
\Examples\ClassLibrary\MSVC\ScrollZoom
Walter Bates
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.090 seconds.