AnnPrivateCreatorTag property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

long AnnPrivateCreatorTag

Overview

Refer to DICOM Annotation Files.

Remarks

(Medical only) Gets or sets the annotation private creator tag used by LEAD to store annotation in a DICOM data set.

This property is used by the AnnSave and AnnCount methods

When saving annotations using the AnnSave method, you can select the private creator tag (and therefore the private tags) or have the private creator tag automatically chosen by setting the AnnPrivateCreatorTag property appropriately.

To choose a private creator tag, do the following:

Set the AnnPrivateCreatorTag to the desired tag and element. Note that private creator tags must follow the following format:

(gggg, 0010-00FF) where gggg is odd

This reserves 256 private data elements.  For example,

LEADDICOM1.AnnPrivateCreatorTag = &H0710043

This particular private creator tag reserves the following elements:

0x00714300 through 0x007143FF

To choose the group but not the element of a private creator tag, do the following:

Set AnnPrivateCreatorTag as follows:

(gggg0000) where gggg is odd

For example, 

LEADDICOM1.AnnPrivateCreatorTag = &H0710000

If successful, the private creator tag (group and element) will be set in the AnnPrivateCreatorTag property.

To have the private creator tag automatically chosen and returned, do the following:

Set AnnPrivateCreatorTag = 0:

If successful, the private creator tag (group and element) will be set in the AnnPrivateCreatorTag property

This property is also updated when calling the AnnCount method. It will contain the LEAD annotation private creator tag that is used to store LEAD annotations.

See Also

Elements:

AnnLoad method, AnnSave method, AnnCount method, AnnDelete method, AnnContainer property, AnnEntries property

Topics:

Data Sets: Annotation Files