Used to read values from an existing DICOM sequence
public Leadtools.Dicom.DicomDataSet BeginReadSequence(
Leadtools.Dicom.DicomElement element,
bool tree,
long tag
)
Public Overloads Function BeginReadSequence( _
ByVal element As Leadtools.Dicom.DicomElement, _
ByVal tree As Boolean, _
ByVal tag As Long _
) As Leadtools.Dicom.DicomDataSet
public:
Leadtools.Dicom.DicomDataSet^ BeginReadSequence(
Leadtools.Dicom.DicomElement^ element,
bool tree,
int64 tag
)
element
an item in the data set
tree
true to evaluate the Data Set as a tree; false to evaluate the Data Set as a list.
tag
tag number of the DICOM element sequence
a reference to the DicomDataSet
This method is used to begin reading values from an existing DICOM sequence. It is part of a group of four methods that are to be used together. The four methods are listed below:
These methods are part of a fluent interface that are used to easily work with DICOM sequences. The methods can be chained together to create easily human readable code to create a sequence.
Passing null for the parameter element, and true for the parameter tree will attempt to read a sequence from the root of the DICOM data set. To read a sequence that is not at the root, pass the sequence item element for the parameter element, and false for the parameter tree. For more information on the element and tree paramters, see FindFirstElement.
The format of the code for reading a sequence is as follows:
ds.BeginReadSequence
.BeginReadItem()
.GetValue
.GetValue
.EndReadItem()
.BeginReadItem()
.GetValue
.GetValue
.EndReadItem()
.EndReadSequence();
For an example, refer to DicomDataSet.GetValue{T}(DicomElement, T, out T).
BeginEditSequence(DicomElement,Boolean,Int64) Method
Products |
Support |
Feedback: BeginReadSequence(DicomElement,Boolean,Int64) 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.