Adds a DICOM Data Set to the DICOM Directory.
public void InsertDataSet(
Leadtools.Dicom.DicomDataSet dataSet,
string fileName
)
Public Sub InsertDataSet( _
ByVal dataSet As Leadtools.Dicom.DicomDataSet, _
ByVal fileName As String _
)
public:
void InsertDataSet(
Leadtools.Dicom.DicomDataSet^ dataSet,
String^ fileName
)
dataSet
A DicomDataSet object that holds the Data Set to be added to the DICOM Directory.
fileName
The name of the DICOM file referenced by the passed DicomDataSet object.
If the name of a DICOM file is to be specified, then before using this method, a destination folder must have been specified, either at the construction time or by the method Reset. Otherwise, the method will fail. The DICOM filename must refer to an existing file that resides in the destination folder or in a subfolder of the destination folder. Otherwise, the method will fail and the Data Set will not be added to the DICOM directory. Please notice that the filename passed to the method must specify the absolute path of the file, not the relative one.
If fileName is set to a null reference (Nothing in VB), a Data Set can still be added, even if no destination folder is specified. (That is, if fileName is set to a null reference and the destination folder has not been set, a Data Set can still be added.) In this case, no DICOM file will be referenced for this Data Set (i.e., the corresponding Referenced File ID (0004,1500) will have an empty value).
For an example, refer to Reset.
Products |
Support |
Feedback: InsertDataSet Method - Leadtools.Dicom |
Introduction |
Help Version 19.0.2017.6.16
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.