AnnContainer property (ILEADDicomDS)
OLE_HANDLE AnnContainer | |
Overview |
Refer to DICOM Annotation Files. |
Remarks
(Medical only) Is the handle to the annotation container object.
This is the root container, which you may need to specify when using LEADTOOLS DLL functions for annotations. The value of this property is 0 if the Dicom Control has no annotations.
This property contains the annotations that will be saved when saving annotations to a DICOM data set using the AnnSave method. Assign a value to this property prior to calling the AnnSave method. Typically, this property is set using the AnnContainer property of the LEAD Raster Annotation COM Object control. For example, using Visual Basic syntax:
LEAD1.Load "d:\work\images\gabe.bmp", 0, 0, 1
LEAD1.AnnLoad "d:\work\images\gabe.ann", 1
LEADDICOM1.LoadDS "d:\work\images\a.dic", 0
LEADDICOM1.AnnContainer = LEAD1.AnnContainer
LEADDICOM1.AnnSave 0, ANNFMT_NATIVE, False, SAVE_OVERWRITE, 1
This property is also used by the AnnLoad method. The AnnLoad method updates this property with the annotation container that is loaded from the DICOM data set. This can then be used in the Raster Annotation COM Object.
For example, using Visual Basic syntax:
LEADDICOM1.LoadDS "d:\erase\dicom.dic", 0
LEADDICOM1.AnnLoad 0, 1
LEAD1.Load "d:\work\images\a.dic", 0, 0, 1
LEAD1.AnnContainer = LEADDICOM1.AnnContainer
See Also
Elements: |
AnnLoad method, AnnSave method, AnnCount method, AnnDelete method, AnnPrivateCreatorTag property, AnnEntries property |
Topics: |