ConvertDicomAnnObjToLEADAnnObj method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short ConvertDicomAnnObjToLEADAnnObj(VARIANT_BOOL bConvertGraphicObject);

Overview

Refer to Working with DICOM Annotations

Remarks

The ConvertDicomAnnObjToLEADAnnObj method converts a DICOM annotation object to a LEAD annotation object. The handle to the resulted LEAD annotation object can be obtained by accessing the LEADAnnObject property.

Before calling the method, describe the DICOM annotation object to be converted by setting the proper properties (those specified either by the GraphicObjectAttributes property or by the TextObjectAttributes property).

Note: When no longer needed, the resulting LEAD annotation object must be destroyed using the AnnDestroy method of the LEAD Raster Annotation object.

See Also

Elements:

LEADAnnObject property, ConvertLEADAnnObjToDicomAnnObjs method

Topics:

ILEADDicomDS Interface, IDicomGraphicObjectAttributes Interface, IDicomTextObjectAttributes Interface

 

Dicom Annotations: Converting Between LEADTOOLS Annotations and DICOM Annotations