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 : Tuesday, January 4, 2011 6:09:52 PM(UTC)

crabwq  
crabwq

Groups: Registered
Posts: 5


When I study the tutorials installed by LeadTools 17.0, I found the similar pairs of functions below:

DicomDataSet ds;
DicomElement patientElement = ds.GetFirstKey(null, true);
DicomElement studyElement = null;
studyElement = ds.GetChildKey(patientElement);
studyElement = ds.GetChildElement(studyElement, true);


I investigated the help document but I still can't get to know the difference between these functions( ds.GetChildKey(), ds.GetChildElement() ). Can you help me? Thanks.

It also happens when I found the following:

ds.GetFirstKey()
ds.GetFirstElement()

ds.FindFirstKey()
ds.FindFirstElement()


 

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 : Wednesday, January 5, 2011 6:47:09 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,028

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

According to our documentation the GetChildElement() is used with the DICOM dataset. However, the GetChildKey is used with the DICOM DIR dataset. For more details, please check the remarks and examples that use these functions in the following help topic:
- GetChildElement Method:
http://www.leadtools.com/help/leadtools/v17/dh/DI/Leadtools.Dicom~Leadtools.Dicom.DicomDataSet~GetChildElement.html
- GetChildKey Method
http://www.leadtools.com/help/leadtools/v17/dh/DI/Leadtools.Dicom~Leadtools.Dicom.DicomDataSet~GetChildKey.html
 
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-2020, Yet Another Forum.NET
This page was generated in 0.056 seconds.