←Select platform

SetOverlayImages Method

Summary

Sets the "Overlay Data" (60xx,3000) for the specified overlay index.

Syntax

C#
VB
Java
WinRT C#
C++
public void SetOverlayImages( 
   int index, 
   RasterImage overlayImages 
) 
Public Sub SetOverlayImages( _ 
   ByVal index As Integer, _ 
   ByVal overlayImages As Leadtools.RasterImage _ 
)  
public void SetOverlayImages(  
   int index, 
   Leadtools.RasterImage overlayImages 
) 
public void setOverlayImages(int index, RasterImage images) 
 function Leadtools.Dicom.DicomDataSet.SetOverlayImages(  
   index , 
   overlayImages  
) 
public: 
void SetOverlayImages(  
   int index, 
   Leadtools.RasterImage^ overlayImages 
)  

Parameters

index
The zero-based index of the overlay being affected.

overlayImages
Images which will be used to update the overlay data. Cannot be null.

Remarks

This method will update the stream of bytes under the "Overlay Data" (60xx, 3000) element with the data of the images included in overlayImages. Before calling this method, you must call SetOverlayAttributes to set the attributes of the image you are trying to update. Make sure that the number of images in overlayImages does not exceed the value of the "Number of Frames in Overlay" (60xx,0015) element.

Example

For an example, refer to OverlayCount.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly