ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 create sequence
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

hamidshali

Iran
51 Posts

Posted - Mar 16 2015 :  09:39:07  Show Profile  Reply
hi how create sequence in dicom tag by AddTag or settagstring

xequte

38944 Posts

Posted - Mar 17 2015 :  23:08:34  Show Profile  Reply
Hi

It is not possible because the tags will be ordered internally by their location (group and element).


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

xequte

38944 Posts

Posted - Jun 06 2016 :  20:05:34  Show Profile  Reply
FYI, this has been added in v6.3.1 with the new Sorted property.

  Children := TObjectList.Create();
  SubTags := TIEDicomTags.Create();
  SubTags.Sorted := false;

  SubTags.SetTagNumeric( $4, $1400, 0, False );
  SubTags.SetTagNumeric( $4, $1410, 65535, False );
  SubTags.SetTagNumeric( $4, $1420, 0, False );
  SubTags.SetTagString( $4, $1430, 'PATIENT', False );

  SubTags.SetTagNumeric( $4, $1400, 0, False );
  SubTags.SetTagNumeric( $4, $1410, 65535, False );
  SubTags.SetTagNumeric( $4, $1420, 0, False );
  SubTags.SetTagString( $4, $1430, 'STUDY', False );

  SubTags.SetTagNumeric( $4, $1400, 0, False );
  SubTags.SetTagNumeric( $4, $1410, 65535, False );
  SubTags.SetTagNumeric( $4, $1420, 0, False );
  SubTags.SetTagString( $4, $1430, 'SERIES', False );

  SubTags.SetTagNumeric( $4, $1400, 0, False );
  SubTags.SetTagNumeric( $4, $1410, 65535, False );
  SubTags.SetTagNumeric( $4, $1420, 0, False );
  SubTags.SetTagString( $4, $1430, 'IMAGE', False );
  SubTags.SetTagString( $4, $1500, 'C:\FileName.jpg', False );

  Children.Add( SubTags );
  ImageEnMView1.MIO.Params[0].DICOM_Tags.AddTag( 4, $1220, dvSQ, nil, -1, Children );


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: