LEADTOOLS Support
Medical
Medical SDK Questions
Display DICOM Image at center of RasterImageViewer
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, August 22, 2011 11:59:30 PM(UTC)
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
#2
Posted
:
Tuesday, August 23, 2011 1:33:40 PM(UTC)
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?
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Tuesday, September 27, 2011 11:27:20 PM(UTC)
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)
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.
LEADTOOLS Support
Medical
Medical SDK Questions
Display DICOM Image at center of RasterImageViewer
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.