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, May 15, 2013 4:09:52 PM(UTC)
Twinmoon

Groups: Registered
Posts: 5


Hello!

I'm using Leadtools16.5 to control DICOM images.

Now I'm wondering about saving window level.
I use SetAction(1, 1) to change DICOM image's window level. But i can't save it.

How could I save changed window level?
 

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, May 16, 2013 6:50:29 AM(UTC)

Daoud  
Daoud

Groups: Registered
Posts: 256


Do you mean you want to obtain the values set by the user to be able to save these values?
If yes, you can use the following code to obtain the start and end color for the Window level among other properties:
===============
MedicalViewerWindowLevel asd = new MedicalViewerWindowLevel();
asd=(MedicalViewerWindowLevel ) _medicalViewer.GetActionProperties(MedicalViewerActionType.WindowLevel);
var StartColor= asd.StartColor;
var EndColor= asd.EndColor;
===============

 
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.