#include "ltdic.h"
L_LTDIC_API L_UINT16 L_DicomSetOverlayBitmap(hDS, uOverlayIndex, pBitmap, uFlags)
HDICOMDS hDS; |
a DICOM handle |
L_UINT uOverlayIndex; |
the overlay index |
pBITMAPHANDLE pBitmap; |
pointer to the overlay bitmap handle |
L_UINT uFlags; |
reserved for future use |
Sets the "Overlay Data" (60xx,3000) for the specified overlay index.
Parameter |
Description |
hDS |
A DICOM handle. |
uOverlayIndex |
The index of the overlay being affected. This index is zero-based. |
pBitmap |
Pointer to a bitmap handle which will be used to update the overlay data. Cannot be NULL. |
uFlags |
Reserved for future use. Pass 0. |
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 doesnt match the "Overlay Columns" (60xx, 0011) or if the bitmap height doesnt match the "Overlay Rows" (60xx, 0011) for the overlay being updated.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64, Linux.
For an example, refer to L_DicomSetOverlayAttributes.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET