Loads a Data Set from a disk file.
public IAsyncOperation<bool> LoadAsync(
ILeadStream stream,
Leadtools.Dicom.DicomDataSetLoadFlags flags
)
Public Overloads Function LoadAsync( _
ByVal stream As ILeadStream, _
ByVal flags As Leadtools.Dicom.DicomDataSetLoadFlags _
) As IAsyncOperation(Of Boolean)
public IAsyncOperation<bool> LoadAsync(
ILeadStream stream,
Leadtools.Dicom.DicomDataSetLoadFlags flags
)
function Leadtools.Dicom.DicomDataSet.LoadAsync(ILeadStream,DicomDataSetLoadFlags)(
stream ,
flags
)
public:
IAsyncOperation<bool>^ LoadAsync(
ILeadStream^ stream,
Leadtools.Dicom.DicomDataSetLoadFlags flags
)
stream
A stream that contains the Data Set to be loaded.
flags
Meta-header flags and Transfer Syntax flags that indicate the file characteristics to use when loading the file.
When this method completes, it returns the true if the dataset was loaded, false otherwise.
If you know certain characteristics of the file, you can set those in flags. Any characteristic that you do not set will be automatically determined. For example, if you know that the Meta-header is present, but you do not know the byte order, or whether the Value Representation is Implicit or Explicit, you can set only DicomDataSetLoadFlags.MetaHeaderPresent in flags. During loading, LEADTOOLS will determine the byte order and whether the byte order is Implicit or Explicit. If you do not know any of the characteristics of the file, set flags to DicomDataSetLoadFlags.None and LEADTOOLS will automatically determine all the file characteristics and load the file accordingly.
If DicomDataSetLoadFlags.LoadAndClose is not included in flags, the file will remain open until the object is destructed, or one of the following methods is called: Reset, Initialize, or Load (again). If LoadAndClose is used, for large images, this mage slow performance, however, the file handle will be released. If set to None, large images will load quickly, and image travers can begin immediately. However, until the file handle is released, nothing can be done to the image.
To load a Data Set from memory, call Load.
Products |
Support |
Feedback: LoadAsync(ILeadStream,DicomDataSetLoadFlags) 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.