LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
DicomCopyCallback Delegate
See Also 
Leadtools.Dicom Namespace : DicomCopyCallback Delegate



element
The DicomElement tested.
flags
Flags used to indicate additional information.
Called for each Data Element of the Data Set. Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Delegate Function DicomCopyCallback( _
   ByVal element As DicomElement, _
   ByVal flags As DicomCopyFlags _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As New DicomCopyCallback(AddressOf HandlerMethod)
C# 
public delegate bool DicomCopyCallback( 
   DicomElement element,
   DicomCopyFlags flags
)
C++/CLI 
public delegate bool DicomCopyCallback( 
   DicomElement^ element,
   DicomCopyFlags flags
)

Parameters

element
The DicomElement tested.
flags
Flags used to indicate additional information.

Return Value

Return true to include element in the copy, false exclude element from the copy.

Example

For an example, refer to Copy.

Remarks

The Copy(DicomDataSet,DicomElement,DicomElement) method calls your DicomCopyCallback for each DicomElement in the DicomDataSet.
The purpose of DicomTestConformanceCallback is to allow the inclusion or exclusion any element from the copy.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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