Overlay

(Optional parameter) Specifies the Overlay data for the Image Overlay Box. This parameter can be either a character string or a long value:

If it is a character string (VT_BSTR), it specifies the name of the Data Set file, which contains the Overlay data.

If it is a long value (VT_I4), it specifies the handle of the Data Set that contains the Overlay data. In this case, the parameter must be set to the handle specified by the hDicomDS property of the LEADTOOLS DICOM DataSet COM Object.

Otherwise, the parameter will be ignored.

The Data Set specified is assumed to contain the Overlay Pixel Data Sequence (2040,0020). If the Sequence is not present, the method will return an error. The Overlay data can also be specified using the OverlayFilename property as described below.