Sets the "Overlay Data" (60xx,3000) for a certain overlay index.
public void SetOverlayImage(
int index,
RasterImage overlayImage
)
Public Sub SetOverlayImage( _
ByVal index As Integer, _
ByVal overlayImage As Leadtools.RasterImage _
)
public void SetOverlayImage(
int index,
Leadtools.RasterImage overlayImage
)
public void setOverlayImage(int index, RasterImage image)
function Leadtools.Dicom.DicomDataSet.SetOverlayImage(
index ,
overlayImage
)
public:
void SetOverlayImage(
int index,
Leadtools.RasterImage^ overlayImage
)
index
The zero-based index of the overlay being affected.
overlayImage
Image which will be used to update the overlay data. Cannot be null.
This method will update the stream of bytes under the "Overlay Data" (60xx, 3000) element with the data in the passed image. This method will fail if the image width does not match the "Overlay Columns" (60xx, 0011) or if the image height does not match the "Overlay Rows" (60xx, 0011) for the overlay being updated.
For an example, refer to OverlayCount.
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