Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomTag::Find

Show in webframe

#include "Ltdic.h"

static pDICOMTAG LDicomTag::Find(nCode)

L_UINT32 nCode;

/* a tag */

Returns a pointer to a structure that contains the item with the specified tag.

Parameter

Description

nCode

A tag. A pointer to the item in the Data Element Tag Table that has this tag will be returned.

Returns

!NULL

A pointer to a DICOMTAG structure that contains the item with the specified tag.

NULL

There is not an item with the specified tag.

Comments

As an example, if you call this function with nCode set to TAG_STUDY_DATE, and the Data Element Tag Table filled with the default values, the DICOMTAG structure pointed to by the returned pointer will contain TAG_STUDY_DATE, 0x00080020, 0xFFFFFFFF, "Study Date", VR_DA, 1, 1, and 1.

To see the default values for the Data Element Tag Table, refer to the Default Data Element Tag Table.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomTag::FindIndex

Topics:

Working with Tags

Example

For an example, refer to LDicomTag::Delete or LDicomTag::SetName.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.