public delegate bool DicomCopyCallback(
DicomElement element,
DicomCopyFlags flags
)
public interface DicomCopyCallback
{
public boolean onDicomCopyCallback(DicomElement element, DicomCopyFlags flags);
}
public delegate bool DicomCopyCallback(
DicomElement^ element,
DicomCopyFlags flags
)
element
The DicomElement tested.
flags
Flags used to indicate additional information.
Return true to include element in the copy, false exclude element from the copy.
The Copy method calls your DicomCopyCallback for each DicomElement in the DicomDataSet.
using Leadtools;
using Leadtools.Dicom;
public void TestCommandSet()
{
//Make sure to initialize the DICOM engine, this needs to be done only once
//In the whole application
DicomEngine.Startup();
using (DicomDataSet ds = new DicomDataSet())
{
ds.InitializeCommandSet(DicomCommandType.CFind, true);
Debug.Assert(ds.InformationCommand == DicomCommandType.CFind);
Debug.Assert(ds.IsRequestCommand == true);
using (DicomDataSet ds1 = new DicomDataSet())
{
ds1.Copy(ds, null, null);
}
}
DicomEngine.Shutdown();
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document