LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

SetOverlayImage Method








The zero-based index of the overlay being affected.
Image which will be used to update the overlay data. Cannot be null.
Sets the "Overlay Data" (60xx,3000) for a certain overlay index. .NET support WinRT support Silverlight support
Syntax
public void SetOverlayImage( 
   int index,
   RasterImage overlayImage
)
'Declaration
 
Public Sub SetOverlayImage( _
   ByVal index As Integer, _
   ByVal overlayImage As RasterImage _
) 
'Usage
 
Dim instance As DicomDataSet
Dim index As Integer
Dim overlayImage As RasterImage
 
instance.SetOverlayImage(index, overlayImage)
public void SetOverlayImage( 
   int index,
   RasterImage overlayImage
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomDataSet.SetOverlayImage( 
   index ,
   overlayImage 
)
public:
void SetOverlayImage( 
   int index,
   RasterImage^ overlayImage
) 

Parameters

index
The zero-based index of the overlay being affected.
overlayImage
Image 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 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.

Example
For an example, refer to OverlayCount.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomDataSet Class
DicomDataSet Members
OverlayCount Property
GetOverlayAttributes Method
GetOverlayActivationLayer Method
GetOverlayImage Method
GetOverlayImages(Int32,Int32,Int32) Method
SetOverlayAttributes Method
SetOverlayImages Method
DeleteOverlay Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features