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, October 30, 2019 9:22:24 PM(UTC)
devinzhu

Groups: Registered
Posts: 21


When using DicomPrintScu class to print dicom images, how to print out the tags in the MedicalViewerBaseCell? 1s.png
 

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 : Friday, November 1, 2019 9:36:58 AM(UTC)
Marcus Andra

Groups: Registered, Manager, Tech Support, Administrators
Posts: 107

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

Hello,

You can use the GetCellImage method which will allow you to pull the tags you want from this cell. If you're trying to save, print, or copy a returned image which includes tags, you should definitely try looking into this. One of the parameters can accept the MedicalViewerCellImageFeatures Enumeration which will allow you to specify which parts of a cell you would like to be included.

Based on the description you have provided, I believe the above method is more in line with what you're looking for. If however you would like more information in regards to the workflow when using the DicomPrintScu class, we have a full description describing the methods that are used here Print Management SCU. We also have an example which implements these features that would be a great point of reference DicomPrintSCU Example
Marcus Andra
Developer Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
#3 Posted : Monday, November 4, 2019 3:01:56 AM(UTC)
devinzhu

Groups: Registered
Posts: 21


Hi,
Thank you for responding. I found GetCellImage method returns an Image object, but when I use DicomPrintScu to print image, I need a RasterImage object, Is there any way to construct a RasterImage object with an Image object?
 
#4 Posted : Monday, November 4, 2019 10:21:48 AM(UTC)
Marcus Andra

Groups: Registered, Manager, Tech Support, Administrators
Posts: 107

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

Hello,

You can convert from a System.Drawing.Image object to a RasterImage through the use of the RasterImageConverter class. We have a forum post that shows the documentation on how to do this, as well as sample code which you can reference here: https://www.leadtools.co...port/forum/posts/t12092-
Marcus Andra
Developer 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.058 seconds.