#include "ltdic.h"
L_UINT16 LDicomDS::SetOverlayBitmapList(uOverlayIndex, hList, uFlags)
Sets the "Overlay Data" (60xx,3000) for the specified overlay index from a list of bitmaps.
The index of the overlay for which to set the bitmap list.
Handle to the list of bitmaps.
Reserved for future use. Pass 0.
Value | Meaning |
---|---|
0 | The function was successful. |
> 0 | An error occurred. Refer to Return Codes. |
This function will update the stream of bytes under the "Overlay Data" (60xx, 3000) element with the data of the bitmaps included in a bitmap list.
Before calling this function you must call LDicomDS::SetOverlayAttributes to set the attributes of the bitmap you are trying to update. Make sure that the number of bitmaps in the list does not exceed the value of the "Number of Frames in Overlay" (60xx,0015) element.
Required DLLs and Libraries
Win32, x64
L_INT LDicomDS_SetOverlayBitmapListExample(HBITMAPLIST hList)
{
L_INT nRet;
LDicomDS *pDS;
pDS = new LDicomDS(NULL);
nRet = pDS->LoadDS(MAKE_IMAGE_PATH(TEXT("image1.dcm")), 0);
if(nRet != DICOM_SUCCESS)
return nRet;
pDS->SetOverlayBitmapList(0, hList, 0);
delete pDS;
return DICOM_SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document