Overlay

(Optional parameter) Specifies the Overlay data for the Image Overlay Box to be created. 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. If this parameter is omitted, the method will assume that the Overlay data is contained in the Data Set file specified by the OverlayFilename property.