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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 add tagg

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
hamidshali Posted - Feb 19 2015 : 02:06:38
hi a want add tag to dicom file
how
ImageEnIO1.Params.DICOM_Tags.AddTag($0010,$0010,'PN',Pointer(pnm),length(PatientName)+1);

pointer ?
how add pointer data to command
pleaze explane to me with example
tnx
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 29 2015 : 01:58:47
Hi

The process is as follows:


Children := TObjectList.Create();
subtags := TIEDicomTags.Create();
subtags.SetTagString(...);
Children.Add(subtags);
ImageEnView1.IO.Params.DICOM_Tags.AddTag(..., Children);


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
hamidshali Posted - Apr 25 2015 : 23:48:02
i must create childeren data set for one record of dicom tag
please show me byImageEnIO1.Params.DICOM_Tags.AddTag($0010,$0012, DataType: TIEDicomTagType; Data: pointer; DataLen: integer; Children: TObjectList = nil);

that Children: TObjectList = not nil
tnx
xequte Posted - Feb 19 2015 : 15:06:25
Hi

It is better to use SetTagString:

// Add a "Patient Name" tag to the current Dicom file (or replace tag if it already exists)
ImageEnView1.IO.Params.DICOM_Tags.SetTagString( $0010, $0010, 'Joe Bloggs' );


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com