#include "ltdic.h"
L_LTDIC_API L_UINT16 L_DicomSetOverlayBitmap(hDS, uOverlayIndex, pBitmap, uFlags)
Sets the "Overlay Data" (60xx,3000) for the specified overlay index.
A DICOM handle.
The index of the overlay being affected. This index is zero-based.
Pointer to a bitmap handle which will be used to update the overlay data. Cannot be NULL.
Reserved for future use. Pass 0.
Value | Meaning |
---|---|
DICOM_SUCCESS | 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 in the specified bitmap handle.
This function will fail if the bitmap width does not match the "Overlay Columns" (60xx, 0011) or if the bitmap height does not match the "Overlay Rows" (60xx, 0011) for the overlay being updated.
Required DLLs and Libraries
Win32, x64, Linux.
For an example, refer to L_DicomSetOverlayAttributes.
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